aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-awesome-slugify/Makefile
blob: c82bfd395ef7456b431f7d0cdc6274859a3821fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	awesome-slugify
PORTVERSION=	1.6.5
CATEGORIES=	textproc python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	matthew@FreeBSD.org
COMMENT=	Flexible slugify function
WWW=		https://pypi.org/project/awesome-slugify/

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:3.6+
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>