kmos 2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00

27 lines
497 B
Makefile

# $OpenBSD: Makefile,v 1.26 2021/05/21 19:50:36 kmos Exp $
COMMENT= RSS and Atom feeds parser written in Python
MODPY_EGG_VERSION= 5.2.1
DISTNAME= feedparser-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= textproc
REVISION= 4
HOMEPAGE= https://github.com/kurtmckee/feedparser
# BSD-2
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_SETUPTOOLS= Yes
FLAVORS= python3
FLAVOR?=
do-test:
cd ${WRKSRC}/feedparser/ && ${MODPY_BIN} feedparsertest.py
.include <bsd.port.mk>