pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update py-pyslha to 3.2.5



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 13 14:37:18 2021 +0100
Changeset:	f69dadc541c09a9240bd94a98c5f693d5f33e12e

Modified Files:
	py-pyslha/DESCR
	py-pyslha/Makefile
	py-pyslha/distinfo
Added Files:
	py-pyslha/patches/patch-setup.py
Removed Files:
	py-pyslha/patches/patch-aa

Log Message:
Update py-pyslha to 3.2.5

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f69dadc541c09a9240bd94a98c5f693d5f33e12e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pyslha/DESCR                  |  9 +++++----
 py-pyslha/Makefile               | 21 +++++++++------------
 py-pyslha/distinfo               | 10 +++++-----
 py-pyslha/patches/patch-aa       | 20 --------------------
 py-pyslha/patches/patch-setup.py | 20 ++++++++++++++++++++
 5 files changed, 39 insertions(+), 41 deletions(-)

diffs:
diff --git a/py-pyslha/DESCR b/py-pyslha/DESCR
index ff294cdf5c..7d34c082df 100644
--- a/py-pyslha/DESCR
+++ b/py-pyslha/DESCR
@@ -1,5 +1,6 @@
-A simple but flexible parser of SUSY Les Houches Accord (SLHA) model and
-decay files. pyslha is a parser/writer module for particle physics SUSY
-Les Houches Accord (SLHA) supersymmetric spectrum/decay files, and a  collection
-of scripts which use the interface, e.g. for conversion to and from the legacy,
+A simple but flexible parser of SUSY Les Houches Accord (SLHA)
+model and decay files. pyslha is a parser/writer module for
+particle physics SUSY Les Houches Accord (SLHA) supersymmetric
+spectrum/decay files, and a  collection of scripts which use
+the interface, e.g. for conversion to and from the legacy,
 ISAWIG format, or to plot the mass spectrum and decay chains
diff --git a/py-pyslha/Makefile b/py-pyslha/Makefile
index 9edf074e97..db9e1d5cab 100644
--- a/py-pyslha/Makefile
+++ b/py-pyslha/Makefile
@@ -1,24 +1,21 @@
-# $NetBSD: Makefile,v 1.7 2015/01/10 20:22:03 thomasklausner Exp $
+# $NetBSD$
 
-DISTNAME=	pyslha-1.2.3
+DISTNAME=	pyslha-3.2.5
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=	1
-CATEGORIES=	misc
+CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyslha/}
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
 HOMEPAGE=	http://www.insectnation.org/projects/pyslha
-COMMENT=	Parsing, manipulating, and visualising SUSY Les Houches Accord data
-LICENSE=	gnu-gpl-v3
+COMMENT=	Parsing, manipulating and visualising SUSY Les Houches Accord data
+LICENSE=	gnu-gpl-v1 OR gnu-gpl-v2 OR gnu-gpl-v3
 
-USE_LANGUAGES=	# none
-
-PYTHON_VERSIONS_ACCEPTED=	27 # as of 1.2.3
+DEPENDS+=	${PYPKGPREFIX}-tex2pix>=0.1.5:../../wip/py-tex2pix
 
 post-extract:
-	${MV} ${WRKSRC}/isawig2slha ${WRKSRC}/isawig2slha${PYVERSSUFFIX}
-	${MV} ${WRKSRC}/slha2isawig ${WRKSRC}/slha2isawig${PYVERSSUFFIX}
 	${MV} ${WRKSRC}/slhaplot ${WRKSRC}/slhaplot${PYVERSSUFFIX}
-
+	${MV} ${WRKSRC}/slha2isawig ${WRKSRC}/slha2isawig${PYVERSSUFFIX}
+	${MV} ${WRKSRC}/isawig2slha ${WRKSRC}/isawig2slha${PYVERSSUFFIX}
+        
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pyslha/distinfo b/py-pyslha/distinfo
index e82378fa65..e671357b18 100644
--- a/py-pyslha/distinfo
+++ b/py-pyslha/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.2 2012/01/18 12:01:29 noud4 Exp $
 
-SHA1 (pyslha-1.2.3.tar.gz) = d1f022b8267d9df4dde03214767c50f5640ad74a
-RMD160 (pyslha-1.2.3.tar.gz) = 0a8575738081be13a185a1100988ae413ed054db
-SHA512 (pyslha-1.2.3.tar.gz) = 406e3a8f930ef4288b1de5b923952ba20b4b6a2a5114251c238940bcfc249492bb11b626437e041cb94c293ddf254c41526f02d83b284556b1ad1f4bdc88a9a7
-Size (pyslha-1.2.3.tar.gz) = 36413 bytes
-SHA1 (patch-aa) = b5354030f2418d1afe130f89e28cdb3131ff18fe
+SHA1 (pyslha-3.2.5.tar.gz) = 9564dbb86118620e25050cf1ea6856709f81c271
+RMD160 (pyslha-3.2.5.tar.gz) = 84707c63a3ccd0f5727f44065fc6ca90a0342de3
+SHA512 (pyslha-3.2.5.tar.gz) = cf82b80855abf0953750e28716bc7de2244e89114f206ac4e021d99f32ea22d838e2fd3648e474512007d9815e4d17b09448b230c1eedb1b696b3593edb2e99a
+Size (pyslha-3.2.5.tar.gz) = 43722 bytes
+SHA1 (patch-setup.py) = 7894fbee7113ca75e365634415bba699fc4d276a
diff --git a/py-pyslha/patches/patch-aa b/py-pyslha/patches/patch-aa
deleted file mode 100644
index 980170369e..0000000000
--- a/py-pyslha/patches/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2011/04/25 21:14:01 jihbed Exp $
-
---- setup.py.orig	2011-04-25 22:07:07.000000000 +0100
-+++ setup.py	2011-04-25 22:09:00.000000000 +0100
-@@ -3,13 +3,14 @@
- from distutils.core import setup
- 
- ## Setup definition
-+import sys
- import pyslha
- __doc__ = pyslha.__doc__
- 
- setup(name = 'pyslha',
-       version = pyslha.__version__,
-       py_modules = ["pyslha"],
--      scripts = ["slhaplot", "slha2isawig", "isawig2slha"],
-+      scripts = ["slhaplot"+sys.version[:3], "slha2isawig"+sys.version[:3], "isawig2slha"+sys.version[:3]],
-       author = 'Andy Buckley',
-       author_email = 'andy%insectnation.org@localhost',
-       url = 'http://www.insectnation.org/projects/pyslha',
diff --git a/py-pyslha/patches/patch-setup.py b/py-pyslha/patches/patch-setup.py
new file mode 100644
index 0000000000..33e6fc5ce2
--- /dev/null
+++ b/py-pyslha/patches/patch-setup.py
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- setup.py.orig	2021-01-11 13:36:04.000000000 +0000
++++ setup.py
+@@ -1,5 +1,6 @@
+ #! /usr/bin/env python
+ 
++import sys
+ from distutils.core import setup
+ 
+ ## Setup definition
+@@ -9,7 +10,7 @@ __doc__ = pyslha.__doc__
+ setup(name = 'pyslha',
+       version = pyslha.__version__,
+       py_modules = ["pyslha"],
+-      scripts = ["slhaplot", "slha2isawig", "isawig2slha"],
++      scripts = ["slhaplot"+sys.version[0:3], "slha2isawig"+sys.version[0:3], "isawig2slha"+sys.version[0:3]],
+       install_requires = ["tex2pix >=0.1.5"],
+       author = 'Andy Buckley',
+       author_email = 'andy%insectnation.org@localhost',


Home | Main Index | Thread Index | Old Index