From e5b926e2d5b2674df9544b3b214ae08891d0eb3c Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 6 Apr 2020 09:14:03 +0000 Subject: [PATCH] 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)! --- devel/py-distro/Makefile | 9 +++++++-- devel/py-distro/distinfo | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/devel/py-distro/Makefile b/devel/py-distro/Makefile index b79448b8e739..67909c30e538 100644 --- a/devel/py-distro/Makefile +++ b/devel/py-distro/Makefile @@ -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 @@ HOMEPAGE= https://github.com/nir0s/distro 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 --git a/devel/py-distro/distinfo b/devel/py-distro/distinfo index f56b3e05010f..9ff8dda5dd0e 100644 --- a/devel/py-distro/distinfo +++ b/devel/py-distro/distinfo @@ -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