pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-hidapi: Rename to py-hidapi-git
Module Name: pkgsrc-wip
Committed By: Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By: f8l
Date: Thu Sep 22 22:37:54 2016 +0200
Changeset: e1299e757360b101fc575c7c5171e3394d58153e
Modified Files:
Makefile
plover-current/Makefile
Added Files:
py-hidapi-git/DESCR
py-hidapi-git/Makefile
py-hidapi-git/PLIST
py-hidapi-git/TODO
py-hidapi-git/distinfo
py-hidapi-git/patches/patch-setup.py
Removed Files:
py-hidapi/DESCR
py-hidapi/Makefile
py-hidapi/PLIST
py-hidapi/TODO
py-hidapi/distinfo
py-hidapi/patches/patch-setup.py
Log Message:
py-hidapi: Rename to py-hidapi-git
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e1299e757360b101fc575c7c5171e3394d58153e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 +-
plover-current/Makefile | 2 +-
py-hidapi-git/DESCR | 0
py-hidapi-git/Makefile | 16 ++++++++++++++++
py-hidapi-git/PLIST | 7 +++++++
py-hidapi-git/TODO | 4 ++++
py-hidapi-git/distinfo | 7 +++++++
py-hidapi-git/patches/patch-setup.py | 13 +++++++++++++
py-hidapi/DESCR | 0
py-hidapi/Makefile | 16 ----------------
py-hidapi/PLIST | 7 -------
py-hidapi/TODO | 4 ----
py-hidapi/distinfo | 7 -------
py-hidapi/patches/patch-setup.py | 13 -------------
14 files changed, 49 insertions(+), 49 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index a4c7c07..65e7853 100644
--- a/Makefile
+++ b/Makefile
@@ -2983,7 +2983,7 @@ SUBDIR+= py-hepcrawl
SUBDIR+= py-hessianfree
SUBDIR+= py-hfk
SUBDIR+= py-hgapi
-SUBDIR+= py-hidapi
+SUBDIR+= py-hidapi-git
SUBDIR+= py-hieroglyph
SUBDIR+= py-hmf
SUBDIR+= py-holoviews
diff --git a/plover-current/Makefile b/plover-current/Makefile
index 6519aad..e24a2bc 100644
--- a/plover-current/Makefile
+++ b/plover-current/Makefile
@@ -15,7 +15,7 @@ WRKSRC= ${WRKDIR}/plover
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../wip/py-appdirs
-DEPENDS+= ${PYPKGPREFIX}-hidapi-[0-9]*:../../wip/py-hidapi
+DEPENDS+= ${PYPKGPREFIX}-hidapi-[0-9]*:../../wip/py-hidapi-git
DEPENDS+= ${PYPKGPREFIX}-serial-[0-9]*:../../comms/py-serial
# XXX at least 0.15 required.
DEPENDS+= ${PYPKGPREFIX}-Xlib-[0-9]*:../../wip/py-Xlib
diff --git a/py-hidapi-git/DESCR b/py-hidapi-git/DESCR
new file mode 100644
index 0000000..e69de29
diff --git a/py-hidapi-git/Makefile b/py-hidapi-git/Makefile
new file mode 100644
index 0000000..edba95f
--- /dev/null
+++ b/py-hidapi-git/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME= hidapi-0.7.99.post18
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/hidapi/}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Python wrapper for the hidapi
+LICENSE= gnu-gpl-v3 OR modified-bsd
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hidapi-git/PLIST b/py-hidapi-git/PLIST
new file mode 100644
index 0000000..aa685c0
--- /dev/null
+++ b/py-hidapi-git/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+${PYSITELIB}/hid.so
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/requires.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
diff --git a/py-hidapi-git/TODO b/py-hidapi-git/TODO
new file mode 100644
index 0000000..1d51e11
--- /dev/null
+++ b/py-hidapi-git/TODO
@@ -0,0 +1,4 @@
+Add libusb option.
+Is cython only a build dependency?
+Add LICENSE-orig.txt to licenses?
+Use SUBST instead of patching setup.py.
diff --git a/py-hidapi-git/distinfo b/py-hidapi-git/distinfo
new file mode 100644
index 0000000..5f1d129
--- /dev/null
+++ b/py-hidapi-git/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (hidapi-0.7.99.post18.tar.gz) = 6e936588d2c8471241162a1c0bb157192923a4f2
+RMD160 (hidapi-0.7.99.post18.tar.gz) = 6fdb805f673649f760410b4ceb2f8a3a23eff70e
+SHA512 (hidapi-0.7.99.post18.tar.gz) = 6b9f62d233be4e119dd77f9e67510fe8059cd81e94ce65a59fef6252a5ff52b0da38550be137ad763f81d1f4dbebf1850489dc16a8b5630e99bb7adf9b87746b
+Size (hidapi-0.7.99.post18.tar.gz) = 36474 bytes
+SHA1 (patch-setup.py) = 001f7c9d96fd4bd41693c49604ad031e858fdb81
diff --git a/py-hidapi-git/patches/patch-setup.py b/py-hidapi-git/patches/patch-setup.py
new file mode 100644
index 0000000..d59b5ec
--- /dev/null
+++ b/py-hidapi-git/patches/patch-setup.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- setup.py.orig 2016-03-31 15:02:25.000000000 +0000
++++ setup.py
+@@ -64,7 +64,7 @@ if 'bsd' in sys.platform:
+ modules = [
+ Extension('hid',
+ sources = ['hid.pyx', 'chid.pxd', hidapi_src('libusb')],
+- include_dirs = [hidapi_include, '/usr/include/libusb-1.0'],
++ include_dirs = [hidapi_include, '/usr/include/libusb-1.0', '/usr/pkg/include/libusb-1.0'],
+ libraries = ['usb-1.0'],
+ )
+ ]
diff --git a/py-hidapi/DESCR b/py-hidapi/DESCR
deleted file mode 100644
index e69de29..0000000
diff --git a/py-hidapi/Makefile b/py-hidapi/Makefile
deleted file mode 100644
index edba95f..0000000
--- a/py-hidapi/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-DISTNAME= hidapi-0.7.99.post18
-MASTER_SITES= ${MASTER_SITE_PYPI:=h/hidapi/}
-CATEGORIES= devel
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-COMMENT= Python wrapper for the hidapi
-LICENSE= gnu-gpl-v3 OR modified-bsd
-
-.include "../../devel/libusb1/buildlink3.mk"
-.include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-hidapi/PLIST b/py-hidapi/PLIST
deleted file mode 100644
index aa685c0..0000000
--- a/py-hidapi/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD$
-${PYSITELIB}/hid.so
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
diff --git a/py-hidapi/TODO b/py-hidapi/TODO
deleted file mode 100644
index 1d51e11..0000000
--- a/py-hidapi/TODO
+++ /dev/null
@@ -1,4 +0,0 @@
-Add libusb option.
-Is cython only a build dependency?
-Add LICENSE-orig.txt to licenses?
-Use SUBST instead of patching setup.py.
diff --git a/py-hidapi/distinfo b/py-hidapi/distinfo
deleted file mode 100644
index 5f1d129..0000000
--- a/py-hidapi/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (hidapi-0.7.99.post18.tar.gz) = 6e936588d2c8471241162a1c0bb157192923a4f2
-RMD160 (hidapi-0.7.99.post18.tar.gz) = 6fdb805f673649f760410b4ceb2f8a3a23eff70e
-SHA512 (hidapi-0.7.99.post18.tar.gz) = 6b9f62d233be4e119dd77f9e67510fe8059cd81e94ce65a59fef6252a5ff52b0da38550be137ad763f81d1f4dbebf1850489dc16a8b5630e99bb7adf9b87746b
-Size (hidapi-0.7.99.post18.tar.gz) = 36474 bytes
-SHA1 (patch-setup.py) = 001f7c9d96fd4bd41693c49604ad031e858fdb81
diff --git a/py-hidapi/patches/patch-setup.py b/py-hidapi/patches/patch-setup.py
deleted file mode 100644
index d59b5ec..0000000
--- a/py-hidapi/patches/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- setup.py.orig 2016-03-31 15:02:25.000000000 +0000
-+++ setup.py
-@@ -64,7 +64,7 @@ if 'bsd' in sys.platform:
- modules = [
- Extension('hid',
- sources = ['hid.pyx', 'chid.pxd', hidapi_src('libusb')],
-- include_dirs = [hidapi_include, '/usr/include/libusb-1.0'],
-+ include_dirs = [hidapi_include, '/usr/include/libusb-1.0', '/usr/pkg/include/libusb-1.0'],
- libraries = ['usb-1.0'],
- )
- ]
Home |
Main Index |
Thread Index |
Old Index