Skip to content

Commit

Permalink
archivers/py-zopfli: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed May 7, 2023
1 parent 05c75c3 commit 2427a5a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions archivers/py-zopfli/Makefile
@@ -1,5 +1,6 @@
PORTNAME= zopfli
PORTVERSION= 0.2.2
PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,10 +12,12 @@ WWW= https://github.com/fonttools/py-zopfli
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}

USES= python:3.7+ zip
USE_PYTHON= autoplist concurrent distutils pytest
USE_PYTHON= autoplist concurrent pep517 pytest

TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

Expand Down

0 comments on commit 2427a5a

Please sign in to comment.