pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-asdf py-asdf: updated to 2.7.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/910e93edfe7f
branches:  trunk
changeset: 449794:910e93edfe7f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 05 19:45:49 2021 +0000

description:
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:

 math/py-asdf/ALTERNATIVES |   1 +
 math/py-asdf/Makefile     |  37 +++++++++++++++++++------------------
 math/py-asdf/PLIST        |   4 ++--
 math/py-asdf/distinfo     |  10 +++++-----
 4 files changed, 27 insertions(+), 25 deletions(-)

diffs (86 lines):

diff -r 0effc77e73e7 -r 910e93edfe7f math/py-asdf/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-asdf/ALTERNATIVES Mon Apr 05 19:45:49 2021 +0000
@@ -0,0 +1,1 @@
+bin/asdftool @PREFIX@/bin/asdftool-@PYVERSSUFFIX@
diff -r 0effc77e73e7 -r 910e93edfe7f math/py-asdf/Makefile
--- a/math/py-asdf/Makefile     Mon Apr 05 19:45:07 2021 +0000
+++ b/math/py-asdf/Makefile     Mon Apr 05 19:45:49 2021 +0000
@@ -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@localhost
-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
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=3.0.2:../../textproc/py-jsonschema
+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
 
-PYTHON_VERSIONS_INCOMPATIBLE+= 27
-PYTHON_VERSIONS_INCOMPATIBLE+= 36
-REPLACE_PYTHON+=               asdf-standard/reference_files/generate/generate
-REPLACE_PYTHON+=               asdf/extern/RangeHTTPServer.py
+USE_LANGUAGES= # none
 
-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
+REPLACE_PYTHON+=       asdf-standard/reference_files/generate/generate
+REPLACE_PYTHON+=       asdf/extern/RangeHTTPServer.py
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} asdftool asdftool-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/application.mk"
-.include "../../math/py-numpy/buildlink3.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0effc77e73e7 -r 910e93edfe7f math/py-asdf/PLIST
--- a/math/py-asdf/PLIST        Mon Apr 05 19:45:07 2021 +0000
+++ b/math/py-asdf/PLIST        Mon Apr 05 19:45:49 2021 +0000
@@ -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 -r 0effc77e73e7 -r 910e93edfe7f math/py-asdf/distinfo
--- a/math/py-asdf/distinfo     Mon Apr 05 19:45:07 2021 +0000
+++ b/math/py-asdf/distinfo     Mon Apr 05 19:45:49 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index