py-setuptools. Also change the lang/python module to use the new devel/py2-setuptools for python2 ports ok sthen@
27 lines
497 B
Makefile
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>
|