1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/textproc/py-awesome-slugify/Makefile
Matthew Seaman d46b66d411 Fix nosetests for non-default Python version
LOCALBASE/bin/nosetests is installed by py-nose of default Python version.

PR:		237239
Submitted by:	sunpoet
2019-04-13 08:51:27 +00:00

29 lines
671 B
Makefile

# $FreeBSD$
PORTNAME= awesome-slugify
PORTVERSION= 1.6.5
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Flexible slugify function
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}unidecode>=0.04.14:converters/py-unidecode@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
TEST_TARGET= do-test
NOSETESTS= nosetests-${PYTHON_VER}
do-test:
${NOSETESTS} ${STAGEDIR}${PYTHON_SITELIBDIR}/slugify
.include <bsd.port.mk>