math/py-affine: Update to 2.4.0

Changes:	https://github.com/rasterio/affine/releases
		https://github.com/rasterio/affine/blob/main/CHANGES.txt
This commit is contained in:
Po-Chuan Hsieh 2023-02-05 23:19:00 +08:00
parent 08991634b5
commit 4a2c9a6af7
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 34 additions and 5 deletions

View file

@ -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>

View file

@ -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

View file

@ -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',
)