Date: Sun, 5 Feb 2023 15:55:34 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4a2c9a6af741 - main - math/py-affine: Update to 2.4.0 Message-ID: <202302051555.315FtYgv030969@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a2c9a6af7415e590f3734b5eef341dab8453149 commit 4a2c9a6af7415e590f3734b5eef341dab8453149 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-02-05 15:19:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-02-05 15:48:02 +0000 math/py-affine: Update to 2.4.0 Changes: https://github.com/rasterio/affine/releases https://github.com/rasterio/affine/blob/main/CHANGES.txt --- math/py-affine/Makefile | 7 +++++-- math/py-affine/distinfo | 6 +++--- math/py-affine/files/setup.py | 26 ++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/math/py-affine/Makefile b/math/py-affine/Makefile index d7711a38729f..77a1f754a20e 100644 --- a/math/py-affine/Makefile +++ b/math/py-affine/Makefile @@ -1,5 +1,5 @@ PORTNAME= affine -PORTVERSION= 2.3.1 +PORTVERSION= 2.4.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,9 +11,12 @@ WWW= https://github.com/sgillies/affine LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/math/py-affine/distinfo b/math/py-affine/distinfo index 208c1e17c528..c248333d68dd 100644 --- a/math/py-affine/distinfo +++ b/math/py-affine/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1649423820 -SHA256 (affine-2.3.1.tar.gz) = d676de66157ad6af99ffd94e0f54e89dfc35b0fb7252ead2ed0ad2dca431bdd0 -SIZE (affine-2.3.1.tar.gz) = 15556 +TIMESTAMP = 1675191071 +SHA256 (affine-2.4.0.tar.gz) = a24d818d6a836c131976d22f8c27b8d3ca32d0af64c1d8d29deb7bafa4da1eea +SIZE (affine-2.4.0.tar.gz) = 17132 diff --git a/math/py-affine/files/setup.py b/math/py-affine/files/setup.py new file mode 100644 index 000000000000..cf8c5386760c --- /dev/null +++ b/math/py-affine/files/setup.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['affine', 'affine.tests'] + +package_data = \ +{'': ['*']} + +extras_require = \ +{'dev': ['pydocstyle', 'flake8', 'coveralls'], + 'test': ['pytest >=4.6', 'pytest-cov']} + +setup(name='affine', + version='%%PORTVERSION%%', + description='Matrices describing affine transformation of the plane', + author=None, + author_email='Sean Gillies <sean.gillies@gmail.com>', + url=None, + packages=packages, + package_data=package_data, + extras_require=extras_require, + python_requires='>=3.7', + )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302051555.315FtYgv030969>