pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-distro



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Apr  6 09:14:03 UTC 2020

Modified Files:
        pkgsrc/devel/py-distro: Makefile distinfo

Log Message:
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)!


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-distro/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-distro/distinfo

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

Modified files:

Index: pkgsrc/devel/py-distro/Makefile
diff -u pkgsrc/devel/py-distro/Makefile:1.2 pkgsrc/devel/py-distro/Makefile:1.3
--- pkgsrc/devel/py-distro/Makefile:1.2 Wed Oct  2 10:04:59 2019
+++ pkgsrc/devel/py-distro/Makefile     Mon Apr  6 09:14:03 2020
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-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 @@ HOMEPAGE=   https://github.com/nir0s/distr
 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"

Index: pkgsrc/devel/py-distro/distinfo
diff -u pkgsrc/devel/py-distro/distinfo:1.1 pkgsrc/devel/py-distro/distinfo:1.2
--- pkgsrc/devel/py-distro/distinfo:1.1 Tue Oct  1 13:22:55 2019
+++ pkgsrc/devel/py-distro/distinfo     Mon Apr  6 09:14:03 2020
@@ -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