1 |
commit: bffa3c32f135943023b25d7b8a01fcc78b2f32c6 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 29 07:13:00 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 29 07:17:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffa3c32 |
7 |
|
8 |
dev-python/pyusb: version bump to 1.0.2 |
9 |
|
10 |
dev-python/pyusb/Manifest | 1 + |
11 |
dev-python/pyusb/pyusb-1.0.2.ebuild | 30 ++++++++++++++++++++++++++++++ |
12 |
2 files changed, 31 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest |
15 |
index 5139c585ca8..f166b9af28d 100644 |
16 |
--- a/dev-python/pyusb/Manifest |
17 |
+++ b/dev-python/pyusb/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST PyUSB-1.0.0.tar.gz 52559 SHA256 5b34ffa74ac34f330bff949c94ee00ec4a9d147234db17ee2eed2a67c0275368 SHA512 a66cd9e3c95d0ee0959667866101f089d5ba5d425a930cc32fdf679f8c1fde8681aaf464efc96cbdad99fbae9f72086c4704f857c757b12e4ce2016e3451dcc0 WHIRLPOOL c93d3bb289646fc06bebadb7d2d5677d685e49756bbcd4ebf01e0eaec30620fbb3f7d925d3f11b9c8cb1d1af87fb357c27f0266c86b83a2c30aa001787f994ac |
20 |
+DIST pyusb-1.0.2.tar.gz 68694 SHA256 49dfa601f28e9399df62004170cfb623197ad32d8399885b7f789775767b50c3 SHA512 6a264b796e17612004196a7a526a7c6df99feac9062f8354540221016411a78a65d413731aea2fc1206ed5ea2b84787078898b9ca3754164f1dfe2a9878b75a5 WHIRLPOOL 1edcbae8e4469088645e12343357e1847dbc9cf8e9b4e4fcd27e9a0e87d22017a432d7b8ac4fcb1e79678da3cd37d31133f253f644dc23f8befdd0aec37fced4 |
21 |
|
22 |
diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild b/dev-python/pyusb/pyusb-1.0.2.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..abedff61161 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild |
27 |
@@ -0,0 +1,30 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
33 |
+ |
34 |
+inherit distutils-r1 |
35 |
+ |
36 |
+DESCRIPTION="USB support for Python" |
37 |
+HOMEPAGE="https://walac.github.io/pyusb/ https://pypi.python.org/pypi/pyusb" |
38 |
+SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+# pypi releases don't include tests |
40 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+### This version is compatible with both 0.X and 1.X versions of libusb |
48 |
+DEPEND="virtual/libusb:= |
49 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+DOCS="README.rst docs/tutorial.rst" |
53 |
+ |
54 |
+python_test() { |
55 |
+ cd tests || die |
56 |
+ "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}" |
57 |
+} |