pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-feyn: update to 1.0.0
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Apr 30 12:15:06 2024 +0200
Changeset: 9578c15f61690589b66d0dd275539656f8d356d0
Modified Files:
py-feyn/Makefile
py-feyn/PLIST
py-feyn/distinfo
Removed Files:
py-feyn/patches/patch-setup.py
Log Message:
py-feyn: update to 1.0.0
Supports Python 3 now.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9578c15f61690589b66d0dd275539656f8d356d0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-feyn/Makefile | 17 +++++++++--------
py-feyn/PLIST | 13 ++++++-------
py-feyn/distinfo | 7 +++----
py-feyn/patches/patch-setup.py | 21 ---------------------
4 files changed, 18 insertions(+), 40 deletions(-)
diffs:
diff --git a/py-feyn/Makefile b/py-feyn/Makefile
index 90393186de..6efd0493f0 100644
--- a/py-feyn/Makefile
+++ b/py-feyn/Makefile
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.5 2014/01/25 10:38:18 thomasklausner Exp $
-DISTNAME= pyfeyn-0.3.2
+DISTNAME= pyfeyn-1.0.0
PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/1}
-PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.hepforge.org/archive/pyfeyn/
@@ -11,12 +10,14 @@ HOMEPAGE= http://projects.hepforge.org/pyfeyn/
COMMENT= Easy-to-use Python library to help physicists draw Feynman diagrams
LICENSE= gnu-gpl-v3
-PYTHON_VERSIONS_ACCEPTED= 27 # as of 0.3.2
-PYTHON_VERSIONED_DEPENDENCIES= X
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-X-[0-9]*:../../textproc/py-X
-post-extract:
- ${MV} ${WRKSRC}/mkfeyndiag ${WRKSRC}/mkfeyndiag${PYVERSSUFFIX}
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/mkfeyndiag ${DESTDIR}${PREFIX}/bin/mkfeyndiag-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-feyn/PLIST b/py-feyn/PLIST
index 5e6137b284..dbaa743532 100644
--- a/py-feyn/PLIST
+++ b/py-feyn/PLIST
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2012/01/30 06:10:51 noud4 Exp $
-bin/mkfeyndiag${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD$
+bin/mkfeyndiag-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pyfeyn/__init__.py
${PYSITELIB}/pyfeyn/__init__.pyc
${PYSITELIB}/pyfeyn/__init__.pyo
diff --git a/py-feyn/distinfo b/py-feyn/distinfo
index 3ab20168f6..e19113526d 100644
--- a/py-feyn/distinfo
+++ b/py-feyn/distinfo
@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/12/29 21:58:32 jihbed Exp $
-RMD160 (pyfeyn-0.3.2.tar.gz) = 0127cb178ccc8d3be4b572c0a63f381b0e372ee1
-SHA512 (pyfeyn-0.3.2.tar.gz) = e498c0203078cc4bd9edb18cecf0f38d38a5878736db49a547d3043cfa663fbb04283174cdb9e54b0f74a1c994515175d0fe214ec5a4ac5fe10c426bcddefc5f
-Size (pyfeyn-0.3.2.tar.gz) = 41906 bytes
-SHA1 (patch-setup.py) = 7336314c9875de6180167d8f39b6be56151cc7f9
+BLAKE2s (pyfeyn-1.0.0.tar.gz) = f37e54bd7f886740211cd3bef13340e22cd35a245b42707f80eaa67af81159c4
+SHA512 (pyfeyn-1.0.0.tar.gz) = edecbb61cbc63adb5d218cd53e45568f42aa018875bd57485afe612080300a16dd93d1dd0a1286b040a27aaf727a9e35e210f2a2edccaf9e6e114301a91c839a
+Size (pyfeyn-1.0.0.tar.gz) = 27316 bytes
diff --git a/py-feyn/patches/patch-setup.py b/py-feyn/patches/patch-setup.py
deleted file mode 100644
index e1aaaa9d15..0000000000
--- a/py-feyn/patches/patch-setup.py
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1.1.1 2011/12/29 21:58:32 jihbed Exp $
-
---- setup.py.orig 2009-10-01 15:51:06.000000000 +0100
-+++ setup.py 2011-12-15 15:06:50.000000000 +0100
-@@ -1,6 +1,7 @@
- #! /usr/bin/env python
-
- ## Get setuptools
-+import sys
- import ez_setup
- ez_setup.use_setuptools()
- from setuptools import setup
-@@ -20,7 +21,7 @@
- packages = ['pyfeyn'],
- include_package_data = True,
- install_requires = ['PyX >= 0.9'],
-- scripts = ['mkfeyndiag'],
-+ scripts = ['mkfeyndiag'+sys.version[0:3]],
- author = ['Andy Buckley', 'Georg von Hippel'],
- author_email = 'pyfeyn%projects.hepforge.org@localhost',
- url = 'http://projects.hepforge.org/pyfeyn/',
Home |
Main Index |
Thread Index |
Old Index