freebsd-ports/databases/py-pylibmc/Makefile
Kubilay Kocak c788df0052 databases/py-pylibmc: Update to 1.5.0
- Update PORTVERSION and distinfo checksum (1.5.0)
- Remove TESTS option and rename test target now that the framework
  supports TEST_DEPENDS
- Add test target comment
- Sort USE_PYTHON

https://github.com/lericson/pylibmc/blob/1.5.0/README.rst#new-in-version-150

Reported by:	portscout (\o/)
2015-12-07 09:31:52 +00:00

32 lines
768 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= pylibmc
PORTVERSION= 1.5.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Quick and small memcached client for Python
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
TEST_DEPENDS= memcached:${PORTSDIR}/databases/memcached \
nosetests:${PORTSDIR}/devel/py-nose
USES= python
USE_PYTHON= autoplist distutils
MAKE_ENV+= LIBMEMCACHED="${LOCALBASE}"
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pylibmc.so
# Note: memcached needs to be running first for this to work
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>