Shift a couple of my ports to using MODPY_PEP517

This commit is contained in:
kmos 2022-09-11 07:10:34 +00:00
parent 4dc148da44
commit d8c8cd0442
4 changed files with 23 additions and 19 deletions

View File

@ -4,7 +4,7 @@ MODPY_EGG_VERSION = 2.2.1
DISTNAME = cookies-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 3
REVISION = 4
CATEGORIES = www
@ -18,9 +18,7 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = lib
MODPY_PEP517 = setuptools
FLAVORS = python3
FLAVOR = python3

View File

@ -1,11 +1,14 @@
@pkgpath www/py-cookies
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}cookies.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}cookies.${MODPY_PYC_MAGIC_TAG}pyc
@comment lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}test_cookies.cpython-37-PYTEST.pyc
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}test_cookies.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}test_cookies.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}.dist-info/
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}.dist-info/WHEEL
lib/python${MODPY_VERSION}/site-packages/cookies-${MODPY_EGG_VERSION}.dist-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/cookies.py
lib/python${MODPY_VERSION}/site-packages/test_cookies.py

View File

@ -3,7 +3,7 @@ COMMENT = jquery-like library for python
MODPY_EGG_VERSION = 1.4.3
DISTNAME = pyquery-${MODPY_EGG_VERSION}
PKGNAME = py-query-${MODPY_EGG_VERSION}
REVISION = 1
REVISION = 2
CATEGORIES = www
@ -17,8 +17,7 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PEP517 = setuptools
RUN_DEPENDS = textproc/py-cssselect${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR}

View File

@ -1,19 +1,23 @@
@conflict py-query-*
@pkgpath www/py-query
lib/python${MODPY_VERSION}/site-packages/pyquery/
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/LICENSE.txt
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/WHEEL
lib/python${MODPY_VERSION}/site-packages/pyquery-${MODPY_EGG_VERSION}.dist-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pyquery/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}cssselectpatch.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}cssselectpatch.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}openers.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}openers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}pyquery.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}pyquery.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}text.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/pyquery/${MODPY_PYCACHE}text.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pyquery/cssselectpatch.py
lib/python${MODPY_VERSION}/site-packages/pyquery/openers.py