diff --git a/print/py-fontpens/Makefile b/print/py-fontpens/Makefile index 9620b840e89c..6f53d6c6761b 100644 --- a/print/py-fontpens/Makefile +++ b/print/py-fontpens/Makefile @@ -1,27 +1,24 @@ PORTNAME= fontpens -PORTVERSION= 0.2.4 -PORTREVISION= 1 +PORTVERSION= 0.4.0 CATEGORIES= print python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= fontPens-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Collection of classes implementing the pen protocol for manipulating glyphs WWW= https://github.com/robotools/fontPens LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fontparts>=0.8.1:print/py-fontparts@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.40:print/py-fonttools@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fontparts>=0.14.2:print/py-fontparts@${PY_FLAVOR} -USES= python zip -USE_PYTHON= autoplist concurrent pep517 +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/print/py-fontpens/distinfo b/print/py-fontpens/distinfo index 464c821e2463..5eca04884865 100644 --- a/print/py-fontpens/distinfo +++ b/print/py-fontpens/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620928541 -SHA256 (fontPens-0.2.4.zip) = a6d9a14573b3450f3313d69523f9006028c21fc7aef5d35333b87aab7f2b41fd -SIZE (fontPens-0.2.4.zip) = 22445 +TIMESTAMP = 1784005284 +SHA256 (fontpens-0.4.0.tar.gz) = 69be9a81087dd59f1b8dee3f1fc8f7cd4693980ab45852feb496cbb28fbd93cb +SIZE (fontpens-0.4.0.tar.gz) = 15632 diff --git a/print/py-fontpens/files/patch-pyproject.toml b/print/py-fontpens/files/patch-pyproject.toml new file mode 100644 index 000000000000..c24a4bb791fb --- /dev/null +++ b/print/py-fontpens/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -4,7 +4,7 @@ build-backend = "hatchling.build" + + + [project] +-name = "fontPens" ++name = "fontpens" + description = "A collection of classes implementing the pen protocol for manipulating glyphs." + readme = "README.md" + authors = [ diff --git a/print/py-fontpens/files/patch-setup.py b/print/py-fontpens/files/patch-setup.py deleted file mode 100644 index ab90dc9ded28..000000000000 --- a/print/py-fontpens/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2018-12-15 04:52:52 UTC -+++ setup.py -@@ -142,7 +142,7 @@ setup_params = dict( - long_description = f.read() - - setup_params = dict( -- name="fontPens", -+ name="fontpens", - version="0.2.4", - description=("A collection of classes implementing the pen " - "protocol for manipulating glyphs."),