e5b926e2d5
## 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)!
25 lines
633 B
Makefile
25 lines
633 B
Makefile
# $NetBSD: Makefile,v 1.3 2020/04/06 09:14:03 wiz Exp $
|
|
|
|
DISTNAME= distro-1.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/}
|
|
|
|
MAINTAINER= root@zta.lk
|
|
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"
|