summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-04-05 19:45:49 +0000
committeradam <adam@pkgsrc.org>2021-04-05 19:45:49 +0000
commit6af9dc222c12e2de8337833c151c588c2332a804 (patch)
tree7d36e1589e4630d6f86ea0261daf1c7af2201ec1 /math
parenteb4f811478fed8cf76831eff406865d3e78539d2 (diff)
downloadpkgsrc-6af9dc222c12e2de8337833c151c588c2332a804.tar.gz
py-asdf: updated to 2.7.3
2.7.3 (2021-02-25) ------------------ - Add pytest plugin options to skip and xfail individual tests and xfail the unsupported ndarray-1.0.0 example. - Fix bug resulting in invalid strides values for views over FITS arrays. 2.7.2 (2021-01-15) ------------------ - Fix bug causing test collection failures in some environments. - Fix bug when decompressing arrays with numpy 1.20
Diffstat (limited to 'math')
-rw-r--r--math/py-asdf/ALTERNATIVES1
-rw-r--r--math/py-asdf/Makefile35
-rw-r--r--math/py-asdf/PLIST4
-rw-r--r--math/py-asdf/distinfo10
4 files changed, 26 insertions, 24 deletions
diff --git a/math/py-asdf/ALTERNATIVES b/math/py-asdf/ALTERNATIVES
new file mode 100644
index 00000000000..13c42604b0b
--- /dev/null
+++ b/math/py-asdf/ALTERNATIVES
@@ -0,0 +1 @@
+bin/asdftool @PREFIX@/bin/asdftool-@PYVERSSUFFIX@
diff --git a/math/py-asdf/Makefile b/math/py-asdf/Makefile
index a6046836e53..46d4788416a 100644
--- a/math/py-asdf/Makefile
+++ b/math/py-asdf/Makefile
@@ -1,32 +1,33 @@
-# $NetBSD: Makefile,v 1.1 2020/12/19 12:26:57 mef Exp $
+# $NetBSD: Makefile,v 1.2 2021/04/05 19:45:49 adam Exp $
-DISTNAME= asdf-2.7.1
+DISTNAME= asdf-2.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asdf/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://pypi.org/project/asdf/
+HOMEPAGE= https://github.com/asdf-format/asdf
COMMENT= Advanced Scientific Data Format
LICENSE= modified-bsd
-USE_LIBTOOL= yes
-USE_LANGUAGES= c
-
-PYTHON_VERSIONS_INCOMPATIBLE+= 27
-PYTHON_VERSIONS_INCOMPATIBLE+= 36
-REPLACE_PYTHON+= asdf-standard/reference_files/generate/generate
-REPLACE_PYTHON+= asdf/extern/RangeHTTPServer.py
-
-BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+= ${PYPKGPREFIX}-numpy>=1.10.0:../../math/py-numpy
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.0.2:../../textproc/py-jsonschema
-DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
-DEPENDS+= ${PYPKGPREFIX}-semantic_version>=2.8:../../devel/py-semantic_version
DEPENDS+= ${PYPKGPREFIX}-lz4>=0.10:../../archivers/py-lz4
+DEPENDS+= ${PYPKGPREFIX}-numpy>=1.10.0:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-semantic_version>=2.8:../../devel/py-semantic_version
+DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON+= asdf-standard/reference_files/generate/generate
+REPLACE_PYTHON+= asdf/extern/RangeHTTPServer.py
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} asdftool asdftool-${PYVERSSUFFIX} || ${TRUE}
-.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
-.include "../../math/py-numpy/buildlink3.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-asdf/PLIST b/math/py-asdf/PLIST
index f8142503cc6..c9452311238 100644
--- a/math/py-asdf/PLIST
+++ b/math/py-asdf/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2020/12/19 12:26:57 mef Exp $
-bin/asdftool
+@comment $NetBSD: PLIST,v 1.2 2021/04/05 19:45:49 adam Exp $
+bin/asdftool-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/math/py-asdf/distinfo b/math/py-asdf/distinfo
index 9bcb9aa93b8..c08dc49eec9 100644
--- a/math/py-asdf/distinfo
+++ b/math/py-asdf/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/12/19 12:26:57 mef Exp $
+$NetBSD: distinfo,v 1.2 2021/04/05 19:45:49 adam Exp $
-SHA1 (asdf-2.7.1.tar.gz) = 203f6a05ace43412d5b55d40d4e0880961097569
-RMD160 (asdf-2.7.1.tar.gz) = 5144ad925555369adf3bde20f158975f5ea0a373
-SHA512 (asdf-2.7.1.tar.gz) = dc807013d7dbf67c8cb269398d0b7ff56b1c5212d2cfbb768b7844979951c56b9263327cba3a3db32b65ac9de2ede94731823b4d7f120a4306efc203cfc75266
-Size (asdf-2.7.1.tar.gz) = 494491 bytes
+SHA1 (asdf-2.7.3.tar.gz) = 93e613bd6d2b5ef65cb0d53f9c4fe31f3162bb53
+RMD160 (asdf-2.7.3.tar.gz) = 59c0a16528293e481d631746a7f4d7aee3d65b5e
+SHA512 (asdf-2.7.3.tar.gz) = 3fb713f536213cae49a9f30273f411327be02d59d61ee39d2ab7a643655359eda8698c801d10f3922ef1a5fb8a7070ce08ef0fc36b556dfe9632a7e8baef9dfc
+Size (asdf-2.7.3.tar.gz) = 509984 bytes