pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-pyinotify



Module Name:    pkgsrc
Committed By:   youri
Date:           Tue Jun 12 01:00:56 UTC 2018

Added Files:
        pkgsrc/sysutils/py-pyinotify: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/py-pyinotify/patches: patch-setup.py

Log Message:
sysutils/py-pyinotify: import py27-pyinotify-0.9.6

Python library for inotify.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-pyinotify/DESCR \
    pkgsrc/sysutils/py-pyinotify/Makefile pkgsrc/sysutils/py-pyinotify/PLIST \
    pkgsrc/sysutils/py-pyinotify/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-pyinotify/patches/patch-setup.py

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

Added files:

Index: pkgsrc/sysutils/py-pyinotify/DESCR
diff -u /dev/null pkgsrc/sysutils/py-pyinotify/DESCR:1.1
--- /dev/null   Tue Jun 12 01:00:56 2018
+++ pkgsrc/sysutils/py-pyinotify/DESCR  Tue Jun 12 01:00:56 2018
@@ -0,0 +1 @@
+Python library for inotify.
Index: pkgsrc/sysutils/py-pyinotify/Makefile
diff -u /dev/null pkgsrc/sysutils/py-pyinotify/Makefile:1.1
--- /dev/null   Tue Jun 12 01:00:56 2018
+++ pkgsrc/sysutils/py-pyinotify/Makefile       Tue Jun 12 01:00:56 2018
@@ -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"
Index: pkgsrc/sysutils/py-pyinotify/PLIST
diff -u /dev/null pkgsrc/sysutils/py-pyinotify/PLIST:1.1
--- /dev/null   Tue Jun 12 01:00:56 2018
+++ pkgsrc/sysutils/py-pyinotify/PLIST  Tue Jun 12 01:00:56 2018
@@ -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
Index: pkgsrc/sysutils/py-pyinotify/distinfo
diff -u /dev/null pkgsrc/sysutils/py-pyinotify/distinfo:1.1
--- /dev/null   Tue Jun 12 01:00:56 2018
+++ pkgsrc/sysutils/py-pyinotify/distinfo       Tue Jun 12 01:00:56 2018
@@ -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

Index: pkgsrc/sysutils/py-pyinotify/patches/patch-setup.py
diff -u /dev/null pkgsrc/sysutils/py-pyinotify/patches/patch-setup.py:1.1
--- /dev/null   Tue Jun 12 01:00:56 2018
+++ pkgsrc/sysutils/py-pyinotify/patches/patch-setup.py Tue Jun 12 01:00:56 2018
@@ -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