devel/py-xstatic-hogan: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
main
Po-Chuan Hsieh 2024-05-13 22:01:08 +08:00
parent 9d9350dafa
commit 28aed0e27c
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 16 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= xstatic-hogan
PORTVERSION= 2.0.0.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,8 +14,11 @@ WWW= https://twitter.github.io/hogan.js/ \
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2020-04-09 21:05:12 UTC
+++ setup.py
@@ -7,7 +7,7 @@ setup(
from setuptools import setup, find_packages
setup(
- name=xs.PACKAGE_NAME,
+ name='xstatic-hogan',
version=xs.PACKAGE_VERSION,
description=xs.DESCRIPTION,
long_description=long_description,