Skip to content

Commit

Permalink
math/py-affine: Update to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Feb 5, 2023
1 parent 0899163 commit 4a2c9a6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
7 changes: 5 additions & 2 deletions math/py-affine/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= affine
PORTVERSION= 2.3.1
PORTVERSION= 2.4.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions math/py-affine/distinfo
Original file line number Diff line number Diff line change
@@ -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
26 changes: 26 additions & 0 deletions math/py-affine/files/setup.py
Original file line number Diff line number Diff line change
@@ -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',
)

0 comments on commit 4a2c9a6

Please sign in to comment.