pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-pyinotify sysutils/py-pyinotify: import py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98b0d7a87461
branches:  trunk
changeset: 381596:98b0d7a87461
user:      youri <youri%pkgsrc.org@localhost>
date:      Tue Jun 12 01:00:56 2018 +0000

description:
sysutils/py-pyinotify: import py27-pyinotify-0.9.6

Python library for inotify.

diffstat:

 sysutils/py-pyinotify/DESCR                  |   1 +
 sysutils/py-pyinotify/Makefile               |  19 +++++++++++++++++++
 sysutils/py-pyinotify/PLIST                  |   9 +++++++++
 sysutils/py-pyinotify/distinfo               |   7 +++++++
 sysutils/py-pyinotify/patches/patch-setup.py |  24 ++++++++++++++++++++++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 2af2af011d68 -r 98b0d7a87461 sysutils/py-pyinotify/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-pyinotify/DESCR       Tue Jun 12 01:00:56 2018 +0000
@@ -0,0 +1,1 @@
+Python library for inotify.
diff -r 2af2af011d68 -r 98b0d7a87461 sysutils/py-pyinotify/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-pyinotify/Makefile    Tue Jun 12 01:00:56 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/06/12 01:00:56 youri Exp $
+
+DISTNAME=      Pyinotify-0.9.6
+PKGNAME=       ${PYPKGPREFIX}-pyinotify-0.9.6
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=seb-m/}
+GITHUB_PROJECT=        pyinotify
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    youri%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/seb-m/pyinotify
+COMMENT=       Python inotify library
+LICENSE=       mit
+
+EGG_NAME=      pyinotify-${PKGVERSION_NOREV}
+
+.include "../../lang/python/egg.mk"
+.include "../../devel/libinotify/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2af2af011d68 -r 98b0d7a87461 sysutils/py-pyinotify/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-pyinotify/PLIST       Tue Jun 12 01:00:56 2018 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/12 01:00:56 youri Exp $
+${PYSITELIB}/pyinotify.pyo
+${PYSITELIB}/pyinotify.pyc
+${PYSITELIB}/inotify_syscalls.so
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyinotify.py
diff -r 2af2af011d68 -r 98b0d7a87461 sysutils/py-pyinotify/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-pyinotify/distinfo    Tue Jun 12 01:00:56 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/06/12 01:00:56 youri Exp $
+
+SHA1 (Pyinotify-0.9.6.tar.gz) = 815c5e5699669d44042efb12122b60e97cae7bf4
+RMD160 (Pyinotify-0.9.6.tar.gz) = 298d687320e30c80905ed7969143028045983e92
+SHA512 (Pyinotify-0.9.6.tar.gz) = 144db691c1cdfd4e52b838b8ed839b8d50d84d26a91a59b7460c3170f58a1c96b3ce4f51e6273835835291781215a87b8f2d2d87d1abf012e4c14b2cd4b3f4cf
+Size (Pyinotify-0.9.6.tar.gz) = 61159 bytes
+SHA1 (patch-setup.py) = 084ca354ca5d0b2ee3a68e609fe7c4778eb0e7b7
diff -r 2af2af011d68 -r 98b0d7a87461 sysutils/py-pyinotify/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-pyinotify/patches/patch-setup.py      Tue Jun 12 01:00:56 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-setup.py,v 1.1 2018/06/12 01:00:56 youri Exp $
+
+Add NetBSD.
+
+--- setup.py.orig      2015-06-04 15:28:48.000000000 +0000
++++ setup.py
+@@ -25,7 +25,7 @@ if sys.version_info < (2, 4):
+     sys.exit(1)
+ 
+ # check linux platform
+-if not platform.startswith('linux') and not platform.startswith('freebsd'):
++if not platform.startswith('linux') and not platform.startswith('freebsd') and not platform.startswith('netbsd'):
+     sys.stderr.write("inotify is not available on %s\n" % platform)
+     sys.exit(1)
+ 
+@@ -71,7 +71,7 @@ def should_compile_ext_mod():
+         return True
+ 
+     try_libc_name = 'c'
+-    if platform.startswith('freebsd'):
++    if platform.startswith('freebsd') or platform.startswith('netbsd'):
+         try_libc_name = 'inotify'
+ 
+     libc_name = None



Home | Main Index | Thread Index | Old Index