summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-01-05 10:27:27 +0000
committerwiz <wiz@pkgsrc.org>2016-01-05 10:27:27 +0000
commit10dbde509008cfb2858b3b86f405b1de3db35d9d (patch)
tree0c493cdea93f46ec8cddf4fc1af100d342cf7fef /devel
parent71e7c8c385cc7bdc665e1ef96f59533e50cd019b (diff)
downloadpkgsrc-10dbde509008cfb2858b3b86f405b1de3db35d9d.tar.gz
Import py-constants-0.6.0 as devel/py-constants.
Most applications use constants. Many constants take different values based on the environment the application is executed in. Think database credentials over development, testing, staging, production or stock market execution over development, testing, paper, production ... Shamelessly inspired by the app_constants_ gem, ``constants`` aims to solve that problem (and that problem only).
Diffstat (limited to 'devel')
-rw-r--r--devel/py-constants/DESCR9
-rw-r--r--devel/py-constants/Makefile16
-rw-r--r--devel/py-constants/PLIST5
-rw-r--r--devel/py-constants/distinfo6
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/py-constants/DESCR b/devel/py-constants/DESCR
new file mode 100644
index 00000000000..b581bf9e59d
--- /dev/null
+++ b/devel/py-constants/DESCR
@@ -0,0 +1,9 @@
+Most applications use constants. Many constants take different
+values based on the environment the application is executed in.
+
+Think database credentials over development, testing, staging,
+production or stock market execution over development, testing,
+paper, production ...
+
+Shamelessly inspired by the app_constants_ gem, ``constants`` aims
+to solve that problem (and that problem only).
diff --git a/devel/py-constants/Makefile b/devel/py-constants/Makefile
new file mode 100644
index 00000000000..078df3fb410
--- /dev/null
+++ b/devel/py-constants/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/01/05 10:27:27 wiz Exp $
+
+DISTNAME= constants-0.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/constants/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/constants
+COMMENT= Simple way to deal with environment constants
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-constants/PLIST b/devel/py-constants/PLIST
new file mode 100644
index 00000000000..5b32a5dd88c
--- /dev/null
+++ b/devel/py-constants/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2016/01/05 10:27:27 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/constants.py
+${PYSITELIB}/constants.pyc
+${PYSITELIB}/constants.pyo
diff --git a/devel/py-constants/distinfo b/devel/py-constants/distinfo
new file mode 100644
index 00000000000..96ad832ea04
--- /dev/null
+++ b/devel/py-constants/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/01/05 10:27:27 wiz Exp $
+
+SHA1 (constants-0.6.0.tar.gz) = 3597f4b80010bedf771d70f86121771b7ef30d45
+RMD160 (constants-0.6.0.tar.gz) = b68a397ec7899451fc927efb31034ce7c90b2372
+SHA512 (constants-0.6.0.tar.gz) = fd4c419f917d5eb97f2f6e981904833930e7366b4bc0aea5bd69559badaab79b74df82c8ba39f8cafee0bd5c31921efb8ddd736f16ddc52f728c65059df4d9f6
+Size (constants-0.6.0.tar.gz) = 5148 bytes