pkgsrc-WIP-changes archive

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

To avoid using git in Makefile, MASTER_SITE_GITHUB was replaced with MASTER_SITE_PYPI.



Module Name:	pkgsrc-wip
Committed By:	Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By:	daisuke
Date:		Fri Dec 18 15:22:10 2020 +0800
Changeset:	5827b713a6d869ea991a9e06d3229bb278d3bfcc

Modified Files:
	py-pyerfa/Makefile
	py-pyerfa/PLIST
	py-pyerfa/distinfo

Log Message:
To avoid using git in Makefile, MASTER_SITE_GITHUB was replaced with MASTER_SITE_PYPI.

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

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

diffstat:
 py-pyerfa/Makefile | 11 +----------
 py-pyerfa/PLIST    | 12 ++++++------
 py-pyerfa/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 20 deletions(-)

diffs:
diff --git a/py-pyerfa/Makefile b/py-pyerfa/Makefile
index 258f374055..430dd6dff5 100644
--- a/py-pyerfa/Makefile
+++ b/py-pyerfa/Makefile
@@ -3,9 +3,7 @@
 DISTNAME=	pyerfa-1.7.1.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	math python
-MASTER_SITES=	${MASTER_SITE_GITHUB:=liberfa/}
-GITHUB_PROJECT=	pyerfa
-GITHUB_TAG=	v${PKGVERSION_NOREV}
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyerfa/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/liberfa/pyerfa/
@@ -27,13 +25,6 @@ DEPENDS+=	${PYPKGPREFIX}-packaging>=20.4:../../devel/py-packaging
 DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=4.1.2:../../devel/py-setuptools_scm
 DEPENDS+=	erfa>=1.7.1:../../wip/erfa
 
-pre-configure:
-	set -e; cd ${WRKSRC}; \
-	git init; \
-	cd liberfa; \
-	git config --global http.sslVerify false; \
-	git clone https://github.com/liberfa/erfa.git;
-
 .include "../../lang/python/egg.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../wip/erfa/buildlink3.mk"
diff --git a/py-pyerfa/PLIST b/py-pyerfa/PLIST
index b44fb8709e..5060f6a682 100644
--- a/py-pyerfa/PLIST
+++ b/py-pyerfa/PLIST
@@ -24,9 +24,9 @@ ${PYSITELIB}/erfa/ufunc.so
 ${PYSITELIB}/erfa/version.py
 ${PYSITELIB}/erfa/version.pyc
 ${PYSITELIB}/erfa/version.pyo
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/PKG-INFO
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/not-zip-safe
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/requires.txt
-${PYSITELIB}/pyerfa-1.7.1.dev0-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/py-pyerfa/distinfo b/py-pyerfa/distinfo
index 162fca03e2..7f517579ae 100644
--- a/py-pyerfa/distinfo
+++ b/py-pyerfa/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (pyerfa-1.7.1.1.tar.gz) = 035624ca20f45265642d82a9cd819ae35efadbeb
-RMD160 (pyerfa-1.7.1.1.tar.gz) = 4eadf73d29cc60615ee647fc6f87ad4c61220828
-SHA512 (pyerfa-1.7.1.1.tar.gz) = 720d5c9810cf1d04bcd674be6efdaed9838acd5356286294e5192e63625176d5efabd1498170a7217ba62cb727ec9e381a45b9ff4bcc76abdc7a9328ca3d6424
-Size (pyerfa-1.7.1.1.tar.gz) = 46212 bytes
+SHA1 (pyerfa-1.7.1.1.tar.gz) = 6395a58c8a3ce2c521e2ab1fdc0ea55655fe466b
+RMD160 (pyerfa-1.7.1.1.tar.gz) = 51d7dd200ea2b59832d9b65b8102e1ab60ac0904
+SHA512 (pyerfa-1.7.1.1.tar.gz) = 59c2dceed6ef5b1ece618742dd0084b729cce8eb52f903dff2aad009fa0f495defb4511688da0a5203ed5900d041a552fbe50668ddac0c3a6bb3fd6d34d089bb
+Size (pyerfa-1.7.1.1.tar.gz) = 1322843 bytes


Home | Main Index | Thread Index | Old Index