summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorrodent <rodent>2014-06-14 13:57:58 +0000
committerrodent <rodent>2014-06-14 13:57:58 +0000
commit84b3f630c4b6fb59a772aafff4d89ab48ff7fc0d (patch)
tree16fad2972e55566fb48d1986e6b0b1630ad508ad /math
parented7abc11212c4b7a3be57096ae3b4d5b689da3ee (diff)
downloadpkgsrc-84b3f630c4b6fb59a772aafff4d89ab48ff7fc0d.tar.gz
Import py27-infinity-1.3 as math/py-infinity.
All-in-one infinity value for Python. Can be compared to any object.
Diffstat (limited to 'math')
-rw-r--r--math/py-infinity/DESCR1
-rw-r--r--math/py-infinity/Makefile18
-rw-r--r--math/py-infinity/PLIST10
-rw-r--r--math/py-infinity/distinfo5
-rw-r--r--math/py-infinity/options.mk15
5 files changed, 49 insertions, 0 deletions
diff --git a/math/py-infinity/DESCR b/math/py-infinity/DESCR
new file mode 100644
index 00000000000..03371f6e078
--- /dev/null
+++ b/math/py-infinity/DESCR
@@ -0,0 +1 @@
+All-in-one infinity value for Python. Can be compared to any object.
diff --git a/math/py-infinity/Makefile b/math/py-infinity/Makefile
new file mode 100644
index 00000000000..4890401ead4
--- /dev/null
+++ b/math/py-infinity/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/06/14 13:57:58 rodent Exp $
+
+DISTNAME= infinity-1.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel math python
+MASTER_SITES= https://pypi.python.org/packages/source/i/infinity/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://github.com/kvesteri/infinity
+COMMENT= All-in-one infinity value for Python
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "options.mk"
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-infinity/PLIST b/math/py-infinity/PLIST
new file mode 100644
index 00000000000..f212b1eab1e
--- /dev/null
+++ b/math/py-infinity/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/14 13:57:58 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/infinity.py
+${PYSITELIB}/infinity.pyc
+${PYSITELIB}/infinity.pyo
diff --git a/math/py-infinity/distinfo b/math/py-infinity/distinfo
new file mode 100644
index 00000000000..750f8c2e6e7
--- /dev/null
+++ b/math/py-infinity/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/14 13:57:58 rodent Exp $
+
+SHA1 (infinity-1.3.tar.gz) = 5cfc9dcfa0ed447d433b69558cbbb3f9042d36ca
+RMD160 (infinity-1.3.tar.gz) = 5715bc4d4f38332b90068309cbc591a5b0459681
+Size (infinity-1.3.tar.gz) = 4649 bytes
diff --git a/math/py-infinity/options.mk b/math/py-infinity/options.mk
new file mode 100644
index 00000000000..70a68a78577
--- /dev/null
+++ b/math/py-infinity/options.mk
@@ -0,0 +1,15 @@
+# $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