pkgsrc-WIP-changes archive

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

py-macs2: Work toward 2.2.7.1 release



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Thu Jan 19 09:19:19 2023 -0600
Changeset:	090b0c9dbdbff829c416d1caf8533d81363525d6

Modified Files:
	py-macs2/Makefile
	py-macs2/distinfo
	rna-seq/Makefile
Added Files:
	py-macs2/patches/patch-setup.py

Log Message:
py-macs2: Work toward 2.2.7.1 release

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

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

diffstat:
 py-macs2/Makefile               | 34 ++++++++--------------------------
 py-macs2/distinfo               |  7 ++++---
 py-macs2/patches/patch-setup.py | 17 +++++++++++++++++
 rna-seq/Makefile                |  2 +-
 4 files changed, 30 insertions(+), 30 deletions(-)

diffs:
diff --git a/py-macs2/Makefile b/py-macs2/Makefile
index 0a6260a384..994bbb0e16 100644
--- a/py-macs2/Makefile
+++ b/py-macs2/Makefile
@@ -5,42 +5,24 @@
 #              Thu Nov  2 10:04:18 CDT 2017               #
 ###########################################################
 
-###########################################################
-# Unconverted and partially converted FreeBSD port syntax:
-
-#post-install:
-#	${STRIP} \
-#		${DESTDIR}${PYTHON_SITELIBDIR}/MACS2/*.so \
-#		${DESTDIR}${PYTHON_SITELIBDIR}/MACS2/*/*.so
-
-DISTNAME=	macs2-${PORTVERSION}
-PKGNAME=	${PYPKGPREFIX}-macs2-${PORTVERSION}
-PKGREVISION=	1
+DISTNAME=	macs2-2.2.7.1
+PKGNAME=	${PYPKGPREFIX}-macs2-2.2.7.1
 CATEGORIES=	biology
 MASTER_SITES=	${MASTER_SITE_GITHUB:=taoliu/}
 GITHUB_PROJECT=	MACS
-GITHUB_TAG=	6946b2f6571cd0a7cfbb882c79aaa25a05a5c48d
+GITHUB_TAG=     v${PKGVERSION_NOREV}
 
 MAINTAINER=	bacon%NetBSD.org@localhost
 HOMEPAGE=	https://pypi.python.org/pypi/macs2
 COMMENT=	Novel algorithm for identifying transcript factor binding sites
-# Check this
 LICENSE=	modified-bsd
 
-# Test and change if necessary.
-# MAKE_JOBS_SAFE=	no
-
-# Just assuming C and C++: Adjust this!
-USE_LANGUAGES=	c c++
-PYDISTUTILSPKG=	yes
-
-PORTVERSION=	2017.05.05
-
-post-patch:
-	${MV} -f ${WRKSRC}/setup_w_cython.py ${WRKSRC}/setup.py
+post-install:
+	${STRIP} \
+		${DESTDIR}${PYTHON_SITELIBDIR}/MACS2/*.so \
+		${DESTDIR}${PYTHON_SITELIBDIR}/MACS2/*/*.so
 
 .include "../../lang/python/egg.mk"
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../mk/blas.buildlink3.mk"
-.include "../../devel/py-cython/buildlink3.mk"
+#.include "../../devel/py-cython/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-macs2/distinfo b/py-macs2/distinfo
index 60c24581de..8423658b13 100644
--- a/py-macs2/distinfo
+++ b/py-macs2/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-RMD160 (macs2-2017.05.05-6946b2f6571cd0a7cfbb882c79aaa25a05a5c48d.tar.gz) = 64cd608e2ba4c9c7817b3164aa9b2477e434803a
-SHA512 (macs2-2017.05.05-6946b2f6571cd0a7cfbb882c79aaa25a05a5c48d.tar.gz) = 8b63dea2a0e1d00c5217760a30346df9c537e4d9a051ec8a3cc0f5c0a299bc9480b17ad0d8f871774c3ae1bc4c714fea1b0d5e07fb05e6c43a3d5c3992ebb432
-Size (macs2-2017.05.05-6946b2f6571cd0a7cfbb882c79aaa25a05a5c48d.tar.gz) = 159560976 bytes
+BLAKE2s (macs2-2.2.7.1.tar.gz) = 9018fcf83634355b625d8cbf6f67071c78d469bb35732318115470b7b7d30f8a
+SHA512 (macs2-2.2.7.1.tar.gz) = 2591ff3258124b1d577b0f417838e13ca6151b011590dbb769fd500d7ee5c7969349a7e40d11c3d8cbe75555786f3b76d3950586d7ed144e6e7679018c32d5c5
+Size (macs2-2.2.7.1.tar.gz) = 134872405 bytes
+SHA1 (patch-setup.py) = c08f7d2c8f11032b223c4ba2f93f35c419a9544c
diff --git a/py-macs2/patches/patch-setup.py b/py-macs2/patches/patch-setup.py
new file mode 100644
index 0000000000..e2fcb21c0f
--- /dev/null
+++ b/py-macs2/patches/patch-setup.py
@@ -0,0 +1,17 @@
+$NetBSD$
+
+# Remove lexical version comparison
+
+--- setup.py.orig	2023-01-19 15:12:37.871351424 +0000
++++ setup.py
+@@ -20,10 +20,6 @@ numpy_requires = '>=1.17'
+ install_requires = [f"numpy>={numpy_requires}",]
+ 
+ def main():
+-    if float(sys.version[:3])<3.6:
+-        sys.stderr.write("CRITICAL: Python version must >= 3.6!\n")
+-        sys.exit(1)
+-
+     cwd = os.path.abspath(os.path.dirname(__file__))
+ 
+     # install required numpy
diff --git a/rna-seq/Makefile b/rna-seq/Makefile
index 2922ba70c5..ba2844e304 100644
--- a/rna-seq/Makefile
+++ b/rna-seq/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 
-DISTNAME=	rna-seq-1.0
+DISTNAME=	rna-seq-1.1
 CATEGORIES=	biology meta-pkgs
 MASTER_SITES=	# empty
 


Home | Main Index | Thread Index | Old Index