View | Details | Raw Unified | Return to bug 269860 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11-fonts/py-fontMath/Makefile (-3 / +3 lines)
Lines 1-6 Link Here
1
PORTNAME=	fontMath
1
PORTNAME=	fontMath
2
PORTVERSION=	0.4.9
2
PORTVERSION=	0.9.3
3
PORTREVISION=	1
4
CATEGORIES=	x11-fonts python
3
CATEGORIES=	x11-fonts python
5
MASTER_SITES=	PYPI
4
MASTER_SITES=	PYPI
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 12-20 WWW= https://github.com/typesupply/fontMath Link Here
12
LICENSE=	MIT
11
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/License.txt
12
LICENSE_FILE=	${WRKSRC}/License.txt
14
13
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR}
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR}
16
16
17
USES=		python:3.6+ zip
17
USES=		python:3.7+ zip
18
USE_PYTHON=	autoplist distutils
18
USE_PYTHON=	autoplist distutils
19
19
20
NO_ARCH=	yes
20
NO_ARCH=	yes
(-)b/x11-fonts/py-fontMath/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1545561043
1
TIMESTAMP = 1677513291
2
SHA256 (fontMath-0.4.9.zip) = 22cfce913e499b95f99f77117d8f848f5497d2c91fd221a23c2fa65a86552439
2
SHA256 (fontMath-0.9.3.zip) = 6a5387cb7feb105958db2f5ceedc878513cc35bf3715e262090f0557be0c1b1c
3
SIZE (fontMath-0.4.9.zip) = 33566
3
SIZE (fontMath-0.9.3.zip) = 39324
(-)b/x11-fonts/py-fontMath/files/patch-setup.py (+25 lines)
Added Link Here
1
--- setup.py.orig	2022-12-08 17:34:02 UTC
2
+++ setup.py
3
@@ -3,11 +3,6 @@ from __future__ import print_function
4
 from setuptools import setup, find_packages
5
 import sys
6
 
7
-needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
8
-pytest_runner = ['pytest_runner'] if needs_pytest else []
9
-needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
10
-wheel = ['wheel'] if needs_wheel else []
11
-
12
 # with open('README.rst', 'r') as f:
13
 #     long_description = f.read()
14
 
15
@@ -27,10 +22,6 @@ setup(
16
         "write_to": 'Lib/fontMath/_version.py',
17
         "write_to_template": '__version__ = "{version}"',
18
     },
19
-    setup_requires=pytest_runner + wheel + ['setuptools_scm'],
20
-    tests_require=[
21
-        'pytest>=3.0.3',
22
-    ],
23
     install_requires=[
24
         "fonttools>=3.32.0",
25
     ],

Return to bug 269860