diff --git a/japanese/py-jaconv/Makefile b/japanese/py-jaconv/Makefile index d54d511c6a91..99d1994c6557 100644 --- a/japanese/py-jaconv/Makefile +++ b/japanese/py-jaconv/Makefile @@ -1,20 +1,24 @@ PORTNAME= jaconv PORTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= japanese python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Japanese character interconverter for Hiragana, Katakana, Hankaku, Zenkaku and more WWW= https://ikegami-yukino.github.io/jaconv/jaconv.html \ https://github.com/ikegami-yukino/jaconv LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +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 .include diff --git a/japanese/py-jaconv/files/patch-setup.py b/japanese/py-jaconv/files/patch-setup.py new file mode 100644 index 000000000000..e5d1463d06c8 --- /dev/null +++ b/japanese/py-jaconv/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-02-17 17:05:21 UTC ++++ setup.py +@@ -39,7 +39,7 @@ setup(name='jaconv', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Text Processing' + ], +- data_files=[('', ['README.rst', 'CHANGES.rst'])], ++ package_data={'': ['README.rst', 'CHANGES.rst']}, + long_description='%s\n\n%s' % + (open('README.rst', encoding='utf8').read(), + open('CHANGES.rst', encoding='utf8').read()),