pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import wip/py-catalogue to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Mar 5 13:51:14 2021 +0100
Changeset:	c722b9b5a6abbc0e852e8181c0050705ebc00585

Modified Files:
	Makefile
Added Files:
	py-catalogue/DESCR
	py-catalogue/Makefile
	py-catalogue/PLIST
	py-catalogue/distinfo

Log Message:
Import wip/py-catalogue to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c722b9b5a6abbc0e852e8181c0050705ebc00585

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 py-catalogue/DESCR    |  8 ++++++++
 py-catalogue/Makefile | 16 ++++++++++++++++
 py-catalogue/PLIST    | 16 ++++++++++++++++
 py-catalogue/distinfo |  6 ++++++
 5 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0e6a593e59..f5ffd7589a 100644
--- a/Makefile
+++ b/Makefile
@@ -3364,6 +3364,7 @@ SUBDIR+=	py-capturer
 SUBDIR+=	py-carbon
 SUBDIR+=	py-cartopy
 SUBDIR+=	py-caspy3
+SUBDIR+=	py-catalogue
 SUBDIR+=	py-causalinfo
 SUBDIR+=	py-causality
 SUBDIR+=	py-cbc
diff --git a/py-catalogue/DESCR b/py-catalogue/DESCR
new file mode 100644
index 0000000000..3e0d2fdb8d
--- /dev/null
+++ b/py-catalogue/DESCR
@@ -0,0 +1,8 @@
+catalogue is a tiny, zero-dependencies library that makes it easy to
+add function (or object) registries to your code. Function registries
+are helpful when you have objects that need to be both easily serializable
+and fully customizable. Instead of passing a function into your object,
+you pass in an identifier name, which the object can use to lookup the
+function from the registry. This makes the object easy to serialize,
+because the name is a simple string. If you instead saved the function
+, you'd have to use Pickle for serialization, which has many drawbacks
diff --git a/py-catalogue/Makefile b/py-catalogue/Makefile
new file mode 100644
index 0000000000..df47809e57
--- /dev/null
+++ b/py-catalogue/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	catalogue-2.0.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=c/catalogue/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/explosion/catalogue
+COMMENT=	Super lightweight function registries for your library
+LICENSE=	mit
+
+PYTHON_VERSIONS_INCOMPATIBLE=   27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-catalogue/PLIST b/py-catalogue/PLIST
new file mode 100644
index 0000000000..d3af7f1599
--- /dev/null
+++ b/py-catalogue/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/catalogue/__init__.py
+${PYSITELIB}/catalogue/__init__.pyc
+${PYSITELIB}/catalogue/__init__.pyo
+${PYSITELIB}/catalogue/tests/__init__.py
+${PYSITELIB}/catalogue/tests/__init__.pyc
+${PYSITELIB}/catalogue/tests/__init__.pyo
+${PYSITELIB}/catalogue/tests/test_catalogue.py
+${PYSITELIB}/catalogue/tests/test_catalogue.pyc
+${PYSITELIB}/catalogue/tests/test_catalogue.pyo
diff --git a/py-catalogue/distinfo b/py-catalogue/distinfo
new file mode 100644
index 0000000000..aece0ccc7f
--- /dev/null
+++ b/py-catalogue/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (catalogue-2.0.1.tar.gz) = 9731ac1ff64b798c7e1b6e19c84355a592bc845f
+RMD160 (catalogue-2.0.1.tar.gz) = 862e241fef9f153d163c0e37294a2a012b9de6eb
+SHA512 (catalogue-2.0.1.tar.gz) = e5e1c584dfc2a365c9413e08f85bf306638dcf487a2f306188b23af38cd62f0d508615855d4979e0f73869c28653ae59241dff8cd2b3d15d060f9df644110f5d
+Size (catalogue-2.0.1.tar.gz) = 13188 bytes


Home | Main Index | Thread Index | Old Index