2009-11-25 17:15:17 +01:00
|
|
|
PORTNAME= pylibmc
|
2022-09-04 21:01:10 +02:00
|
|
|
PORTVERSION= 1.6.3
|
2009-11-25 17:15:17 +01:00
|
|
|
CATEGORIES= databases python
|
2023-01-11 16:47:15 +01:00
|
|
|
MASTER_SITES= PYPI
|
2009-11-25 17:15:17 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2022-03-08 03:09:14 +01:00
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
2014-12-09 02:55:51 +01:00
|
|
|
COMMENT= Quick and small memcached client for Python
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://sendapatch.se/projects/pylibmc
|
2009-11-25 17:15:17 +01:00
|
|
|
|
2014-06-30 11:51:53 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
2018-07-25 12:18:17 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2012-08-05 10:22:52 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libmemcached.so:databases/libmemcached
|
2022-08-06 23:38:27 +02:00
|
|
|
TEST_DEPENDS= memcached:databases/memcached
|
2009-11-25 17:15:17 +01:00
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= python
|
2022-08-06 23:38:27 +02:00
|
|
|
USE_PYTHON= autoplist distutils nose
|
2014-06-30 11:51:53 +02:00
|
|
|
|
|
|
|
MAKE_ENV+= LIBMEMCACHED="${LOCALBASE}"
|
2009-11-25 17:15:17 +01:00
|
|
|
|
2014-12-09 02:55:51 +01:00
|
|
|
post-install:
|
2020-12-24 14:46:01 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pylibmc*.so
|
2014-12-09 02:55:51 +01:00
|
|
|
|
2015-12-07 10:31:52 +01:00
|
|
|
# Note: memcached needs to be running first for this to work
|
2022-08-06 23:38:27 +02:00
|
|
|
#do-test:
|
2014-12-09 02:55:51 +01:00
|
|
|
|
2009-11-25 17:15:17 +01:00
|
|
|
.include <bsd.port.mk>
|