pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-distro py-distro: update to 1.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f343dcf6cfa6
branches:  trunk
changeset: 426751:f343dcf6cfa6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 06 09:14:03 2020 +0000

description:
py-distro: update to 1.5.0.

## 1.5.0 (2020.3.30)

BACKWARD COMPATIBILITY:
* Keep output as native string so we can compatible with python2 interface [[#248](https://github.com/nir0s/distro/pull/248)]

ENHANCEMENTS:

BUG FIXES:
* Fix detection of RHEL 6 ComputeNode [[#255](https://github.com/nir0s/distro/issues/255)]
* Fix Oracle 4/5 lsb_release id and names [[#250](https://github.com/nir0s/distro/pull/250)]
* Ignore /etc/plesk-release file while parsing distribution [[#246](https://github.com/nir0s/distro/pull/246)]

TESTS:
* Test on MidnightBSD [[#254](https://github.com/nir0s/distro/issues/254)]

RELEASE:
* Remove build testing on Python 3.3 and add pypy 3.5 and Python 3.7 and 3.8 [[#244](https://github.com/nir0s/distro/pull/244)]
* Fix Windows build due to Appveyor not supporting builds on Python 2.7 anymore [[#257](https://github.com/nir0s/distro/pull/257)]

Additionally, The Python2.6 branch was fixed to support distro version 1.4.0. It is now passing all tests. Thanks [abadger](https://github.com/abadger)!

diffstat:

 devel/py-distro/Makefile |   9 +++++++--
 devel/py-distro/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r ccd52a79e20b -r f343dcf6cfa6 devel/py-distro/Makefile
--- a/devel/py-distro/Makefile  Mon Apr 06 09:11:22 2020 +0000
+++ b/devel/py-distro/Makefile  Mon Apr 06 09:14:03 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/10/02 10:04:59 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/04/06 09:14:03 wiz Exp $
 
-DISTNAME=      distro-1.4.0
+DISTNAME=      distro-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/distro/}
@@ -10,11 +10,16 @@
 COMMENT=       OS platform information API
 LICENSE=       apache-2.0
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
 USE_LANGUAGES= # none
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} distro distro-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ccd52a79e20b -r f343dcf6cfa6 devel/py-distro/distinfo
--- a/devel/py-distro/distinfo  Mon Apr 06 09:11:22 2020 +0000
+++ b/devel/py-distro/distinfo  Mon Apr 06 09:14:03 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/10/01 13:22:55 triaxx Exp $
+$NetBSD: distinfo,v 1.2 2020/04/06 09:14:03 wiz Exp $
 
-SHA1 (distro-1.4.0.tar.gz) = d72ac60844b2b472fc815441afe60fc1da728926
-RMD160 (distro-1.4.0.tar.gz) = e2403c4fdb70861f89a8e09e4118027e39fb2514
-SHA512 (distro-1.4.0.tar.gz) = eac7d32ea77c2074e57c6828a8b2e4d4d01e9c46cb0f7adbd99998630b0af4924bf18d05d5f5b42fef5603b024ef835dbb4c05fc88310f5e64d193514b2fc10f
-Size (distro-1.4.0.tar.gz) = 53719 bytes
+SHA1 (distro-1.5.0.tar.gz) = cb0e7d550a3c66c960a1914718e4f4dfe1228a19
+RMD160 (distro-1.5.0.tar.gz) = 34bf3cb1216eda586f428ea71a43629119d9f27d
+SHA512 (distro-1.5.0.tar.gz) = 14831fe1355e9ef4f58f273ce4a548a3fe438e95466b4b4f596b8110da51305d66ed77c2e40c3dbfbcbd1a66c74e23a4d4244c8bfdebc4b49b3e7ddcbff55b8f
+Size (distro-1.5.0.tar.gz) = 54340 bytes



Home | Main Index | Thread Index | Old Index