summaryrefslogtreecommitdiff
path: root/math/py-infinity
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-09-27 20:21:54 +0000
committeradam <adam@pkgsrc.org>2017-09-27 20:21:54 +0000
commit9de5eed6d1f6b7f19604b5c33fc52068f9f46e9b (patch)
treed73a21b4afe9e33e111e766e0d8b5a5111df8e2a /math/py-infinity
parent26d2f496d3635e03a7694daa9bcff051e7d460be (diff)
downloadpkgsrc-9de5eed6d1f6b7f19604b5c33fc52068f9f46e9b.tar.gz
py-infinity: update to 1.4
1.4: - Added __hash__ method
Diffstat (limited to 'math/py-infinity')
-rw-r--r--math/py-infinity/Makefile15
-rw-r--r--math/py-infinity/distinfo10
-rw-r--r--math/py-infinity/options.mk15
3 files changed, 16 insertions, 24 deletions
diff --git a/math/py-infinity/Makefile b/math/py-infinity/Makefile
index f9aec9275c9..d906c4348b4 100644
--- a/math/py-infinity/Makefile
+++ b/math/py-infinity/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2017/09/16 19:26:59 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/27 20:21:54 adam Exp $
-DISTNAME= infinity-1.3
+DISTNAME= infinity-1.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel math python
+CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/infinity/}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -10,9 +10,16 @@ HOMEPAGE= https://github.com/kvesteri/infinity
COMMENT= All-in-one infinity value for Python
LICENSE= modified-bsd
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flake8>=2.4.0:../../devel/py-flake8
+BUILD_DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.2:../../devel/py-isort
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pygments>=1.2:../../textproc/py-pygments
+BUILD_DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
+
USE_LANGUAGES= # none
-.include "options.mk"
+do-test:
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-infinity/distinfo b/math/py-infinity/distinfo
index ec3d12081be..64b85a7ecb2 100644
--- a/math/py-infinity/distinfo
+++ b/math/py-infinity/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 23:33:42 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/27 20:21:54 adam Exp $
-SHA1 (infinity-1.3.tar.gz) = 5cfc9dcfa0ed447d433b69558cbbb3f9042d36ca
-RMD160 (infinity-1.3.tar.gz) = 5715bc4d4f38332b90068309cbc591a5b0459681
-SHA512 (infinity-1.3.tar.gz) = 2f4832dddec9357dfb6f40ed338aedd297990f3ac9ff9f289d6340dce1375984022d754b3d432b6729cd6222a50c2441e277fe7cefbf7d5c15240399ae78b99d
-Size (infinity-1.3.tar.gz) = 4649 bytes
+SHA1 (infinity-1.4.tar.gz) = 4041bf5620bbb4e80feeecc18fabf16e917be82a
+RMD160 (infinity-1.4.tar.gz) = b9822c0d2148c3211ba27f199412b1b69af25f46
+SHA512 (infinity-1.4.tar.gz) = 57ce539d861a47d02b570f997a0b1ee6c631a1d9825b68692e9edfac789ec3069b754abb64bb4128dbfcf2eea231067c61a287315ec130a301f18c0e65387acb
+Size (infinity-1.4.tar.gz) = 5410 bytes
diff --git a/math/py-infinity/options.mk b/math/py-infinity/options.mk
deleted file mode 100644
index 70a68a78577..00000000000
--- a/math/py-infinity/options.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: options.mk,v 1.1 2014/06/14 13:57:58 rodent Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.py-infinity
-PKG_SUPPORTED_OPTIONS= tests
-PKG_SUGGESTED_OPTIONS+= # blank
-
-.include "../../mk/bsd.options.mk"
-
-.include "../../lang/python/pyversion.mk"
-
-.if !empty(PKG_OPTIONS:Mtests)
-DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
-DEPENDS+= ${PYPKGPREFIX}-pygments>=1.2:../../textproc/py-pygments
-DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
-.endif