drop py2 from py-mechanize

This commit is contained in:
sthen 2021-02-14 15:51:41 +00:00
parent 42bfa04f2d
commit ecac42410f
2 changed files with 9 additions and 7 deletions

View File

@ -1,26 +1,27 @@
# $OpenBSD: Makefile,v 1.14 2020/11/06 18:18:38 jasper Exp $
# $OpenBSD: Makefile,v 1.15 2021/02/14 15:51:41 sthen Exp $
COMMENT= stateful programmatic web browsing module
MODPY_EGG_VERSION= 0.4.5
DISTNAME= mechanize-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
REVISION= 0
CATEGORIES= www
HOMEPAGE= http://wwwsearch.sourceforge.net/mechanize/
HOMEPAGE= https://mechanize.readthedocs.io/
# BSD or Zope Public License v2.1
PERMIT_PACKAGE= Yes
FLAVORS= python3
FLAVOR= python3
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
MODPY_PI= Yes
FLAVORS = python3
FLAVOR ?=
RUN_DEPENDS = devel/py-html5lib${MODPY_FLAVOR}
RUN_DEPENDS= devel/py-html5lib${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-twisted${MODPY_FLAVOR}
post-install:

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.5 2020/11/06 18:18:38 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2021/02/14 15:51:42 sthen Exp $
@pkgpath www/py-mechanize
lib/python${MODPY_VERSION}/site-packages/mechanize/
lib/python${MODPY_VERSION}/site-packages/mechanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/mechanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO