pkgsrc-WIP-changes archive

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

py-whelk: Import py-whelk-2.7.1 as wip/py-whelk



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Dec 31 23:22:56 2017 +0100
Changeset:	9e9a4bba84d872698caba6dd7bee25948531f5ba

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

Log Message:
py-whelk: Import py-whelk-2.7.1 as wip/py-whelk

We all like python for scripting, because it's so much more powerful
than a shell. But sometimes we really need to call a shell command
because it's so much easier than writing yet another library in
python or adding a dependency:

    from whelk import shell
    shell.zgrep("-r", "downloads", "/var/log/httpd")
    # Here goes code to process the log

You can even pipe commands together:

    from whelk import pipe
    pipe(pipe.getent("group") | pipe.grep(":1...:"))

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

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

diffstat:
 Makefile          |  1 +
 py-whelk/DESCR    | 13 +++++++++++++
 py-whelk/Makefile | 16 ++++++++++++++++
 py-whelk/PLIST    | 17 +++++++++++++++++
 py-whelk/distinfo |  6 ++++++
 5 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 45d1498e6d..440904c0cf 100644
--- a/Makefile
+++ b/Makefile
@@ -3820,6 +3820,7 @@ SUBDIR+=	py-webkit
 SUBDIR+=	py-weblib
 SUBDIR+=	py-weboob
 SUBDIR+=	py-websocket
+SUBDIR+=	py-whelk
 SUBDIR+=	py-wifite
 SUBDIR+=	py-willow
 SUBDIR+=	py-wordpress-xmlrpc
diff --git a/py-whelk/DESCR b/py-whelk/DESCR
new file mode 100644
index 0000000000..08cdf56079
--- /dev/null
+++ b/py-whelk/DESCR
@@ -0,0 +1,13 @@
+We all like python for scripting, because it's so much more powerful
+than a shell. But sometimes we really need to call a shell command
+because it's so much easier than writing yet another library in
+python or adding a dependency:
+
+    from whelk import shell
+    shell.zgrep("-r", "downloads", "/var/log/httpd")
+    # Here goes code to process the log
+
+You can even pipe commands together:
+
+    from whelk import pipe
+    pipe(pipe.getent("group") | pipe.grep(":1...:"))
diff --git a/py-whelk/Makefile b/py-whelk/Makefile
new file mode 100644
index 0000000000..339778e8ca
--- /dev/null
+++ b/py-whelk/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	whelk-2.7.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=w/whelk/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://seveas.github.io/whelk/
+COMMENT=	Pretending python is a shell
+LICENSE=	zlib
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-whelk/PLIST b/py-whelk/PLIST
new file mode 100644
index 0000000000..a4a4b15584
--- /dev/null
+++ b/py-whelk/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/whelk/__init__.py
+${PYSITELIB}/whelk/__init__.pyc
+${PYSITELIB}/whelk/__init__.pyo
+${PYSITELIB}/whelk/_subprocess.py
+${PYSITELIB}/whelk/_subprocess.pyc
+${PYSITELIB}/whelk/_subprocess.pyo
+${PYSITELIB}/whelk/subprocess_32.py
+${PYSITELIB}/whelk/subprocess_32.pyc
+${PYSITELIB}/whelk/subprocess_32.pyo
+${PYSITELIB}/whelk/subprocess_33.py
+${PYSITELIB}/whelk/subprocess_33.pyc
+${PYSITELIB}/whelk/subprocess_33.pyo
+${PYSITELIB}/whelk/subprocess_34.py
+${PYSITELIB}/whelk/subprocess_34.pyc
+${PYSITELIB}/whelk/subprocess_34.pyo
diff --git a/py-whelk/distinfo b/py-whelk/distinfo
new file mode 100644
index 0000000000..091ec3157b
--- /dev/null
+++ b/py-whelk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (whelk-2.7.1.tar.gz) = f14c107e2567311154ffe92f03ff52bc81fb43b9
+RMD160 (whelk-2.7.1.tar.gz) = 81671f8c06f7efdd30c3c95cb95ee8449c8bec5a
+SHA512 (whelk-2.7.1.tar.gz) = e5a912e38cc453209b8131086441aa8e684fc5b99573a86d0e196e566d9508986f22535cc42bff85a8ac365648bb20e9aa670182412b5c20a060b224feeae701
+Size (whelk-2.7.1.tar.gz) = 69346 bytes


Home | Main Index | Thread Index | Old Index