[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2024-03-09 Thread Marek Szuba
commit: 8f22d0637f578c3d80baf0260db4ecc43192f944
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Mar  9 11:21:37 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Mar  9 11:25:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f22d063

dev-python/pyusb: enable py3.12

Fails one test but it's the same with py3.11 for me. Possibly a
container thing.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
index 4edc92acc431..0af103cb0940 100644
--- a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit distutils-r1 pypi
 
 DESCRIPTION="USB support for Python"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2023-03-19 Thread Michał Górny
commit: 86d2c2c90364f3d523eef73e5196f0aacd638231
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 20 05:23:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 20 05:36:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d2c2c9

dev-python/pyusb: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1.ebuild | 29 -
 1 file changed, 29 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
deleted file mode 100644
index d7c303722986..
--- a/dev-python/pyusb/pyusb-1.2.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 pypi
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86"
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-
-DOCS=( README.rst docs/tutorial.rst )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-setuptools.patch
-)
-
-python_test() {
-   cd tests || die
-   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2023-03-19 Thread Sam James
commit: fe33845d4a272f08fb43aa403cfe9403e78b03df
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 19 19:21:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 19 19:21:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe33845d

dev-python/pyusb: Stabilize 1.2.1-r1 x86, #902175

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
index 3cfe3a80f327..4edc92acc431 100644
--- a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://pyusb.github.io/pyusb/ 
https://pypi.org/project/pyusb/;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2023-03-19 Thread Arthur Zamarin
commit: 1e190f298292a853009b60ba86db6b33b561c31d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 19 18:58:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 19 18:58:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e190f29

dev-python/pyusb: Stabilize 1.2.1-r1 amd64, #902175

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
index 9f3ac1f4c29c..3cfe3a80f327 100644
--- a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://pyusb.github.io/pyusb/ 
https://pypi.org/project/pyusb/;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2023-02-16 Thread Sam James
commit: 279a672d653d59114622429a5113cecfd0990d1a
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 17 06:05:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 17 06:22:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279a672d

dev-python/pyusb: PEP517

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1-r1.ebuild | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/dev-python/pyusb/pyusb-1.2.1-r1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
new file mode 100644
index ..9f3ac1f4c29c
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.2.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.rst docs/tutorial.rst )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-setuptools.patch
+)
+
+python_test() {
+   cd tests || die
+   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/files/, dev-python/pyusb/

2023-02-16 Thread Sam James
commit: 485262e28f2aae4d6718cdbd8717841a1a0aa038
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 17 06:04:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 17 06:22:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485262e2

dev-python/pyusb: enable py3.11, use pypi.eclass, fix w/ newer setuptools

Signed-off-by: Sam James  gentoo.org>

 .../pyusb/files/pyusb-1.2.1-setuptools.patch   | 37 ++
 dev-python/pyusb/pyusb-1.2.1.ebuild|  9 --
 2 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/dev-python/pyusb/files/pyusb-1.2.1-setuptools.patch 
b/dev-python/pyusb/files/pyusb-1.2.1-setuptools.patch
new file mode 100644
index ..26b5e204d648
--- /dev/null
+++ b/dev-python/pyusb/files/pyusb-1.2.1-setuptools.patch
@@ -0,0 +1,37 @@
+https://github.com/pyusb/pyusb/commit/777dea9d718e70d7323c821d4497c706b35742da
+
+From 777dea9d718e70d7323c821d4497c706b35742da Mon Sep 17 00:00:00 2001
+From: Jonas Malaco 
+Date: Tue, 12 Jul 2022 03:12:50 -0300
+Subject: [PATCH] version: handle when patch component is missing
+
+actions/checkout@v3 (by default) no longer fetches the tags while
+checking out the repository.  This, combined with our use of
+setuptools_scm post-release scheme, results in tox trying to run the
+tests with version strings that look something like
+
+pyusb-0.0.post1+g3678fc1.zip
+
+and breaking _get_extended_version_info().
+
+Make _get_extended_version_info() robust against this case.  This is
+preferable to configuring actions/checkout@v3 to fetch the tags as,
+being related shallow clones, it might also happen in other contexts.
+
+Fixes: 678fc1867f4 ("github: update to actions/checkout@v3")
+--- a/usb/__init__.py
 b/usb/__init__.py
+@@ -55,9 +55,9 @@
+ 
+ def _get_extended_version_info(version):
+ import re
+-m = re.match(r'(\d+)\.(\d+)\.(\d+)[.-]?(.*)', version)
+-major, minor, patch, suffix = m.groups()
+-return int(major), int(minor), int(patch), suffix
++m = re.match(r'(\d+)\.(\d+)(\.(\d+))?[.-]?(.*)', version)
++major, minor, _, patch, suffix = m.groups()
++return int(major), int(minor), int(patch or "0"), suffix
+ 
+ extended_version_info = _get_extended_version_info(__version__)
+ version_info = extended_version_info[:3]
+

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
index 900eb0c4252d..d7c303722986 100644
--- a/dev-python/pyusb/pyusb-1.2.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1.ebuild
@@ -3,12 +3,11 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 pypi
 
 DESCRIPTION="USB support for Python"
 HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -20,6 +19,10 @@ RDEPEND="${DEPEND}"
 
 DOCS=( README.rst docs/tutorial.rst )
 
+PATCHES=(
+   "${FILESDIR}"/${P}-setuptools.patch
+)
+
 python_test() {
cd tests || die
"${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-08-08 Thread Michał Górny
commit: 051cdc4333eb331e63adce83e5f9d41b94837298
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug  8 06:21:58 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug  8 06:33:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051cdc43

dev-python/pyusb: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest   |  2 --
 dev-python/pyusb/pyusb-1.1.1.ebuild | 28 
 dev-python/pyusb/pyusb-1.2.0.ebuild | 26 --
 3 files changed, 56 deletions(-)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index f4e63d6fb30..b1ae96b342b 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,3 +1 @@
-DIST pyusb-1.1.1.tar.gz 74746 BLAKE2B 
795acafae3193e1a415baeb634554c8fdec3f4baa45a61a3eac9e1af4a84634cc540d421b7d8ad20142912fbef6ba53684e2e5b008e48f3e89406a493918ab20
 SHA512 
19aa82dcb9421d536063a975414855d1474f44b33dc4039e9a001be795061dbd60ed576acb605ae6bab7a0fe10834e5507408757546c7edcd50b43687a65a287
-DIST pyusb-1.2.0.tar.gz 75557 BLAKE2B 
3a2d066d4069a8662c981ab1f01237d7c0bc18be82afb96a79cf861b04e2e389c5d5f6be96bf54337ef0b2ad8043d047554caed83987328d4e453a3748d13bc6
 SHA512 
3aa6314bd06467cf22fe299d414ffbdea773c8784dccfe53e7d54d238285bc389ba35317a993b38d2b2027c71a990edcf17016a060b8e627fe97e9cfcc99ce7d
 DIST pyusb-1.2.1.tar.gz 75292 BLAKE2B 
c1b99f22919ab4beb8e96d664147dc51001c4a48b3acf9ba3961f7f53a9d13277c622e891481fd00b9d34d2ed8a2a0932b7949c13396ea4d76b36f36fcc4cdb0
 SHA512 
51d0c1165540afa21d6d0ab7315ac77b08083d1cb8e502173dfb1766bc542173f9d7b0070fd14bc71d147e31c3f0780b277093791a7c82485962a04ec62bf0f1

diff --git a/dev-python/pyusb/pyusb-1.1.1.ebuild 
b/dev-python/pyusb/pyusb-1.1.1.ebuild
deleted file mode 100644
index e8bb887f1ba..000
--- a/dev-python/pyusb/pyusb-1.1.1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-inherit distutils-r1
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-
-DOCS=( README.rst docs/tutorial.rst )
-
-python_test() {
-   cd tests || die
-   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
-}

diff --git a/dev-python/pyusb/pyusb-1.2.0.ebuild 
b/dev-python/pyusb/pyusb-1.2.0.ebuild
deleted file mode 100644
index 24e01cf2f16..000
--- a/dev-python/pyusb/pyusb-1.2.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-
-DOCS=( README.rst docs/tutorial.rst )
-
-python_test() {
-   cd tests || die
-   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-08-07 Thread Sam James
commit: 4ffc014289b7b615b7498b37975089ee64a4c878
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  7 23:34:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  7 23:34:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ffc0142

dev-python/pyusb: Stabilize 1.2.1 x86, #806923

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
index 53738e2e77a..d90c9a0212c 100644
--- a/dev-python/pyusb/pyusb-1.2.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-08-07 Thread Sam James
commit: 632318494dfc2994073571e0535ba7acb42e3cd4
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  7 14:41:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  7 14:41:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63231849

dev-python/pyusb: Stabilize 1.2.1 amd64, #806923

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
index 8966bec8f2e..53738e2e77a 100644
--- a/dev-python/pyusb/pyusb-1.2.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-08-01 Thread Marek Szuba
commit: 6ddb49fc72b60d61db429dfe16e05853fa2b13d4
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Aug  1 21:52:40 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug  1 21:52:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddb49fc

dev-python/pyusb: keyword 1.2.1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyusb/pyusb-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
index 24e01cf2f16..8966bec8f2e 100644
--- a/dev-python/pyusb/pyusb-1.2.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-07-09 Thread Michał Górny
commit: 72a66c9f34a3dfe5d4a60f98245ab8ae87c6cafa
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul  9 06:41:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul  9 07:26:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a66c9f

dev-python/pyusb: Bump to 1.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.2.1.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 0e0c7611805..f4e63d6fb30 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,2 +1,3 @@
 DIST pyusb-1.1.1.tar.gz 74746 BLAKE2B 
795acafae3193e1a415baeb634554c8fdec3f4baa45a61a3eac9e1af4a84634cc540d421b7d8ad20142912fbef6ba53684e2e5b008e48f3e89406a493918ab20
 SHA512 
19aa82dcb9421d536063a975414855d1474f44b33dc4039e9a001be795061dbd60ed576acb605ae6bab7a0fe10834e5507408757546c7edcd50b43687a65a287
 DIST pyusb-1.2.0.tar.gz 75557 BLAKE2B 
3a2d066d4069a8662c981ab1f01237d7c0bc18be82afb96a79cf861b04e2e389c5d5f6be96bf54337ef0b2ad8043d047554caed83987328d4e453a3748d13bc6
 SHA512 
3aa6314bd06467cf22fe299d414ffbdea773c8784dccfe53e7d54d238285bc389ba35317a993b38d2b2027c71a990edcf17016a060b8e627fe97e9cfcc99ce7d
+DIST pyusb-1.2.1.tar.gz 75292 BLAKE2B 
c1b99f22919ab4beb8e96d664147dc51001c4a48b3acf9ba3961f7f53a9d13277c622e891481fd00b9d34d2ed8a2a0932b7949c13396ea4d76b36f36fcc4cdb0
 SHA512 
51d0c1165540afa21d6d0ab7315ac77b08083d1cb8e502173dfb1766bc542173f9d7b0070fd14bc71d147e31c3f0780b277093791a7c82485962a04ec62bf0f1

diff --git a/dev-python/pyusb/pyusb-1.2.1.ebuild 
b/dev-python/pyusb/pyusb-1.2.1.ebuild
new file mode 100644
index 000..24e01cf2f16
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.2.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.rst docs/tutorial.rst )
+
+python_test() {
+   cd tests || die
+   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-07-06 Thread Michał Górny
commit: 36caefdc0c8ae2b033b407fbc3823b3449b4c365
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul  6 07:31:24 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul  6 07:58:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36caefdc

dev-python/pyusb: Bump to 1.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.2.0.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 21d7e354153..0e0c7611805 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1 +1,2 @@
 DIST pyusb-1.1.1.tar.gz 74746 BLAKE2B 
795acafae3193e1a415baeb634554c8fdec3f4baa45a61a3eac9e1af4a84634cc540d421b7d8ad20142912fbef6ba53684e2e5b008e48f3e89406a493918ab20
 SHA512 
19aa82dcb9421d536063a975414855d1474f44b33dc4039e9a001be795061dbd60ed576acb605ae6bab7a0fe10834e5507408757546c7edcd50b43687a65a287
+DIST pyusb-1.2.0.tar.gz 75557 BLAKE2B 
3a2d066d4069a8662c981ab1f01237d7c0bc18be82afb96a79cf861b04e2e389c5d5f6be96bf54337ef0b2ad8043d047554caed83987328d4e453a3748d13bc6
 SHA512 
3aa6314bd06467cf22fe299d414ffbdea773c8784dccfe53e7d54d238285bc389ba35317a993b38d2b2027c71a990edcf17016a060b8e627fe97e9cfcc99ce7d

diff --git a/dev-python/pyusb/pyusb-1.2.0.ebuild 
b/dev-python/pyusb/pyusb-1.2.0.ebuild
new file mode 100644
index 000..24e01cf2f16
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.2.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.rst docs/tutorial.rst )
+
+python_test() {
+   cd tests || die
+   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-05-14 Thread Marek Szuba
commit: 20d93cd36cc7aec77edec0c7ccef63e40d2943e3
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri May 14 20:27:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri May 14 21:38:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d93cd3

dev-python/pyusb: support python3_10

Builds and installs fine, one of the tests fails with NoBackendError but
it does the same with python3_8 (it's probably because of tests being
unable to access USB under Docker).

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyusb/pyusb-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.1.1.ebuild 
b/dev-python/pyusb/pyusb-1.1.1.ebuild
index 3df409241c7..e8bb887f1ba 100644
--- a/dev-python/pyusb/pyusb-1.1.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-02-19 Thread Michał Górny
commit: bf14c7be313f03a903f08e9553d8834fdadfde2f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 16:33:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 16:33:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf14c7be

dev-python/pyusb: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest   |  1 -
 dev-python/pyusb/pyusb-1.1.0.ebuild | 28 
 2 files changed, 29 deletions(-)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 412b55c67a9..21d7e354153 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,2 +1 @@
-DIST pyusb-1.1.0.tar.gz 78752 BLAKE2B 
ee541afedca7d5dca345c6addee2702ccb7408bb9a2d8b23fe1eb47f067a93309599894e364c0bdcef3e5348bd13cc39f240257efd4664679017f61b87853217
 SHA512 
0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179
 DIST pyusb-1.1.1.tar.gz 74746 BLAKE2B 
795acafae3193e1a415baeb634554c8fdec3f4baa45a61a3eac9e1af4a84634cc540d421b7d8ad20142912fbef6ba53684e2e5b008e48f3e89406a493918ab20
 SHA512 
19aa82dcb9421d536063a975414855d1474f44b33dc4039e9a001be795061dbd60ed576acb605ae6bab7a0fe10834e5507408757546c7edcd50b43687a65a287

diff --git a/dev-python/pyusb/pyusb-1.1.0.ebuild 
b/dev-python/pyusb/pyusb-1.1.0.ebuild
deleted file mode 100644
index 508d193f7cc..000
--- a/dev-python/pyusb/pyusb-1.1.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-inherit distutils-r1
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-
-DOCS=( README.rst docs/tutorial.rst )
-
-python_test() {
-   cd tests || die
-   "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-02-19 Thread Sam James
commit: 0bedf94ff4723cccd46ab3764d56040bb01cc860
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 12:06:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 12:06:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bedf94f

dev-python/pyusb: Stabilize 1.1.1 amd64, #771465

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.1.1.ebuild 
b/dev-python/pyusb/pyusb-1.1.1.ebuild
index bcb04ad193e..3df409241c7 100644
--- a/dev-python/pyusb/pyusb-1.1.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-02-18 Thread Sam James
commit: e14427d016ffe3959b2b537d315ce436a83e1867
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 03:38:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 03:38:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14427d0

dev-python/pyusb: Stabilize 1.1.1 x86, #771465

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.1.1.ebuild 
b/dev-python/pyusb/pyusb-1.1.1.ebuild
index 33c5549aa1a..bcb04ad193e 100644
--- a/dev-python/pyusb/pyusb-1.1.1.ebuild
+++ b/dev-python/pyusb/pyusb-1.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-01-20 Thread Michał Górny
commit: 7528f69808f2f33f548835fd599858fdc801fef5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 20 08:12:20 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 20 08:26:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7528f698

dev-python/pyusb: Bump to 1.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.1.1.ebuild | 28 
 2 files changed, 29 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index e2c488bba2b..412b55c67a9 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1 +1,2 @@
 DIST pyusb-1.1.0.tar.gz 78752 BLAKE2B 
ee541afedca7d5dca345c6addee2702ccb7408bb9a2d8b23fe1eb47f067a93309599894e364c0bdcef3e5348bd13cc39f240257efd4664679017f61b87853217
 SHA512 
0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179
+DIST pyusb-1.1.1.tar.gz 74746 BLAKE2B 
795acafae3193e1a415baeb634554c8fdec3f4baa45a61a3eac9e1af4a84634cc540d421b7d8ad20142912fbef6ba53684e2e5b008e48f3e89406a493918ab20
 SHA512 
19aa82dcb9421d536063a975414855d1474f44b33dc4039e9a001be795061dbd60ed576acb605ae6bab7a0fe10834e5507408757546c7edcd50b43687a65a287

diff --git a/dev-python/pyusb/pyusb-1.1.1.ebuild 
b/dev-python/pyusb/pyusb-1.1.1.ebuild
new file mode 100644
index 000..33c5549aa1a
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.1.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.rst docs/tutorial.rst )
+
+python_test() {
+   cd tests || die
+   "${EPYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-01-07 Thread Michał Górny
commit: 2b1d44730ac22808e18642a84d886f67874845c0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  7 09:23:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  7 09:23:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b1d4473

dev-python/pyusb: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/Manifest  |  1 -
 dev-python/pyusb/pyusb-1.0.2-r1.ebuild | 30 --
 2 files changed, 31 deletions(-)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index eb720b30f3c..e2c488bba2b 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,2 +1 @@
-DIST pyusb-1.0.2.tar.gz 68694 BLAKE2B 
8910d9d6d7abd8b0dddf725ad9cc745ce5b06f69a4824a86ed9783918d0fc88d438674852288654964c4555d8278f22d3daab679149c64ea8a6fd3dd2f1cf284
 SHA512 
6a264b796e17612004196a7a526a7c6df99feac9062f8354540221016411a78a65d413731aea2fc1206ed5ea2b84787078898b9ca3754164f1dfe2a9878b75a5
 DIST pyusb-1.1.0.tar.gz 78752 BLAKE2B 
ee541afedca7d5dca345c6addee2702ccb7408bb9a2d8b23fe1eb47f067a93309599894e364c0bdcef3e5348bd13cc39f240257efd4664679017f61b87853217
 SHA512 
0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179

diff --git a/dev-python/pyusb/pyusb-1.0.2-r1.ebuild 
b/dev-python/pyusb/pyusb-1.0.2-r1.ebuild
deleted file mode 100644
index 02a1d97b136..000
--- a/dev-python/pyusb/pyusb-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
-
-inherit distutils-r1
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
-SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-# pypi releases don't include tests
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
-IUSE=""
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:=
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-DOCS="README.rst docs/tutorial.rst"
-
-python_test() {
-   cd tests || die
-   "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-01-06 Thread Sam James
commit: 015d31eada8179d1129cecfb6e63973dd1bf13f6
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 01:04:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 01:04:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015d31ea

dev-python/pyusb: Stabilize 1.1.0 x86, #763798

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.1.0.ebuild 
b/dev-python/pyusb/pyusb-1.1.0.ebuild
index 1e709776d67..10a33b7a1ce 100644
--- a/dev-python/pyusb/pyusb-1.1.0.ebuild
+++ b/dev-python/pyusb/pyusb-1.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2021-01-06 Thread Sam James
commit: 5c1f67d2d721345b567d0e568f7a98e0f86eec86
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 00:52:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 00:57:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1f67d2

dev-python/pyusb: Stabilize 1.1.0 amd64, #763798

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyusb/pyusb-1.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.1.0.ebuild 
b/dev-python/pyusb/pyusb-1.1.0.ebuild
index f329f17c241..1e709776d67 100644
--- a/dev-python/pyusb/pyusb-1.1.0.ebuild
+++ b/dev-python/pyusb/pyusb-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86"
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
 DEPEND="virtual/libusb:="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2020-12-01 Thread Marek Szuba
commit: 75eec14cda77354d357710efacf66a8d4839e00c
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Dec  1 23:08:02 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Dec  1 23:08:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75eec14c

dev-python/pyusb: bump to 1.1.0

Tests no longer segfault python, supports python3_9, some cosmetics.

Pushed with permission from mgorny on behalf of the Python project.

Closes: https://bugs.gentoo.org/645254
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.1.0.ebuild | 28 
 2 files changed, 29 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 6faeb415d20..eb720b30f3c 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1 +1,2 @@
 DIST pyusb-1.0.2.tar.gz 68694 BLAKE2B 
8910d9d6d7abd8b0dddf725ad9cc745ce5b06f69a4824a86ed9783918d0fc88d438674852288654964c4555d8278f22d3daab679149c64ea8a6fd3dd2f1cf284
 SHA512 
6a264b796e17612004196a7a526a7c6df99feac9062f8354540221016411a78a65d413731aea2fc1206ed5ea2b84787078898b9ca3754164f1dfe2a9878b75a5
+DIST pyusb-1.1.0.tar.gz 78752 BLAKE2B 
ee541afedca7d5dca345c6addee2702ccb7408bb9a2d8b23fe1eb47f067a93309599894e364c0bdcef3e5348bd13cc39f240257efd4664679017f61b87853217
 SHA512 
0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179

diff --git a/dev-python/pyusb/pyusb-1.1.0.ebuild 
b/dev-python/pyusb/pyusb-1.1.0.ebuild
new file mode 100644
index 000..f329f17c241
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+
+DOCS=( README.rst docs/tutorial.rst )
+
+python_test() {
+   cd tests || die
+   "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2020-09-20 Thread Michał Górny
commit: 85741ad261c962df2bf91c18103962f710f7859c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 09:22:47 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 09:36:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85741ad2

dev-python/pyusb: Remove python2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyusb/{pyusb-1.0.2.ebuild => pyusb-1.0.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2-r1.ebuild
similarity index 94%
rename from dev-python/pyusb/pyusb-1.0.2.ebuild
rename to dev-python/pyusb/pyusb-1.0.2-r1.ebuild
index f6dfae4b0c7..02a1d97b136 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2020-03-18 Thread Rick Farina
commit: 59197072ff113bc196965252b9bc8448341ee156
Author: Rick Farina  gentoo  org>
AuthorDate: Thu Mar 19 02:01:46 2020 +
Commit: Rick Farina  gentoo  org>
CommitDate: Thu Mar 19 02:11:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59197072

dev-python/pyusb: adding python3_8

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Rick Farina  gentoo.org>

 dev-python/pyusb/pyusb-1.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index 1a085838229..f6dfae4b0c7 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2019-10-15 Thread Craig Andrews
commit: 69fff2162684b1ca73eba145fc615d2de838abab
Author: Craig Andrews  gentoo  org>
AuthorDate: Sun Oct 13 18:32:34 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Oct 15 15:57:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fff216

dev-python/pyusb: Python 3.7 compatibility

Closes: https://bugs.gentoo.org/696398
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13278
Signed-off-by: Craig Andrews  gentoo.org>

 dev-python/pyusb/pyusb-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index 61879989a8c..1666b403fe0 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2019-08-09 Thread Louis Sautier
commit: 892975474be70850d73b1066b6731dc0dc1a02b8
Author: Wim Muskee  gmail  com>
AuthorDate: Fri Aug  9 03:26:23 2019 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Aug  9 09:44:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89297547

dev-python/pyusb: update HOMEPAGE

Closes: https://bugs.gentoo.org/691188
Signed-off-by: Wim Muskee  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12651
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pyusb/pyusb-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index bad631b70a9..61879989a8c 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 inherit distutils-r1
 
 DESCRIPTION="USB support for Python"
-HOMEPAGE="https://walac.github.io/pyusb/ https://pypi.org/project/pyusb/;
+HOMEPAGE="https://pyusb.github.io/pyusb/ https://pypi.org/project/pyusb/;
 SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 # pypi releases don't include tests
 #SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2019-04-27 Thread Anthony G. Basile
commit: 2e96d6f24847ce15d23003b586dc821206f7c573
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Apr 27 23:32:37 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Apr 27 23:32:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e96d6f2

dev-python/pyusb: keyword ~arm64

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/pyusb/pyusb-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index f47e65dd08b..bad631b70a9 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
 IUSE=""
 
 ### This version is compatible with both 0.X and 1.X versions of libusb



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2019-03-19 Thread Rick Farina
commit: 24561b7e51fafd421fd937df8701737467cc9570
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Mar 19 15:36:44 2019 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Mar 19 15:36:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24561b7e

dev-python/pyusb: functional test on x86

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Rick Farina  gentoo.org>

 dev-python/pyusb/pyusb-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index 2592f61f9dc..ef49d8dde19 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~ppc x86"
 IUSE=""
 
 ### This version is compatible with both 0.X and 1.X versions of libusb



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2019-03-11 Thread Mikle Kolyada
commit: 04a34e2ba4009b1c5e1d935e34483a70302197de
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Mar 11 08:39:22 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Mar 11 08:39:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a34e2b

dev-python/pyusb: amd64 stable wrt bug #679276

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-python/pyusb/pyusb-1.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
index ac5eea3c5d8..2592f61f9dc 100644
--- a/dev-python/pyusb/pyusb-1.0.2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~x86"
 IUSE=""
 
 ### This version is compatible with both 0.X and 1.X versions of libusb



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2017-10-29 Thread Tim Harder
commit: bffa3c32f135943023b25d7b8a01fcc78b2f32c6
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Oct 29 07:13:00 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Oct 29 07:17:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffa3c32

dev-python/pyusb: version bump to 1.0.2

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.0.2.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 5139c585ca8..f166b9af28d 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1 +1,2 @@
 DIST PyUSB-1.0.0.tar.gz 52559 SHA256 
5b34ffa74ac34f330bff949c94ee00ec4a9d147234db17ee2eed2a67c0275368 SHA512 
a66cd9e3c95d0ee0959667866101f089d5ba5d425a930cc32fdf679f8c1fde8681aaf464efc96cbdad99fbae9f72086c4704f857c757b12e4ce2016e3451dcc0
 WHIRLPOOL 
c93d3bb289646fc06bebadb7d2d5677d685e49756bbcd4ebf01e0eaec30620fbb3f7d925d3f11b9c8cb1d1af87fb357c27f0266c86b83a2c30aa001787f994ac
+DIST pyusb-1.0.2.tar.gz 68694 SHA256 
49dfa601f28e9399df62004170cfb623197ad32d8399885b7f789775767b50c3 SHA512 
6a264b796e17612004196a7a526a7c6df99feac9062f8354540221016411a78a65d413731aea2fc1206ed5ea2b84787078898b9ca3754164f1dfe2a9878b75a5
 WHIRLPOOL 
1edcbae8e4469088645e12343357e1847dbc9cf8e9b4e4fcd27e9a0e87d22017a432d7b8ac4fcb1e79678da3cd37d31133f253f644dc23f8befdd0aec37fced4

diff --git a/dev-python/pyusb/pyusb-1.0.2.ebuild 
b/dev-python/pyusb/pyusb-1.0.2.ebuild
new file mode 100644
index 000..abedff61161
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="https://walac.github.io/pyusb/ https://pypi.python.org/pypi/pyusb;
+SRC_URI="https://github.com/walac/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+# pypi releases don't include tests
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:=
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+DOCS="README.rst docs/tutorial.rst"
+
+python_test() {
+   cd tests || die
+   "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2017-10-29 Thread Tim Harder
commit: e18777dc50777f083677837a12b9efc028ae3b6e
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Oct 29 07:14:32 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Oct 29 07:17:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18777dc

dev-python/pyusb: update sourceforge to github in upstream metadata

 dev-python/pyusb/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyusb/metadata.xml b/dev-python/pyusb/metadata.xml
index b547c09ec84..7a1db2dc378 100644
--- a/dev-python/pyusb/metadata.xml
+++ b/dev-python/pyusb/metadata.xml
@@ -10,6 +10,6 @@


pyusb
-   pyusb
+   walac/pyusb

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2017-05-16 Thread Manuel Rüger
commit: 43345db6b258100608399af8bd40d668aa7c18d5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue May 16 20:14:36 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue May 16 20:15:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43345db6

dev-python/pyusb: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/pyusb/pyusb-1.0.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.0.0.ebuild 
b/dev-python/pyusb/pyusb-1.0.0.ebuild
index dbfebc52e7e..525fc5e8b06 100644
--- a/dev-python/pyusb/pyusb-1.0.0.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2017-05-02 Thread Michał Górny
commit: c9957771ff2a157bfd8383ff9cf196353db37cfb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 13:36:50 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 14:02:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9957771

dev-python/pyusb: Clean old versions up

 dev-python/pyusb/Manifest |  1 -
 dev-python/pyusb/pyusb-1.0.0_beta2.ebuild | 27 ---
 2 files changed, 28 deletions(-)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 5e24f1fd743..5139c585ca8 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,2 +1 @@
 DIST PyUSB-1.0.0.tar.gz 52559 SHA256 
5b34ffa74ac34f330bff949c94ee00ec4a9d147234db17ee2eed2a67c0275368 SHA512 
a66cd9e3c95d0ee0959667866101f089d5ba5d425a930cc32fdf679f8c1fde8681aaf464efc96cbdad99fbae9f72086c4704f857c757b12e4ce2016e3451dcc0
 WHIRLPOOL 
c93d3bb289646fc06bebadb7d2d5677d685e49756bbcd4ebf01e0eaec30620fbb3f7d925d3f11b9c8cb1d1af87fb357c27f0266c86b83a2c30aa001787f994ac
-DIST pyusb-1.0.0b2.tar.gz 57747 SHA256 
14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19 SHA512 
8a69f6cb3e2876a52c1caa0854e98586cf6d7e01225b132b4d37b92814727ae66398282aedbe5e521c509dc3ee6dfc5799b9f22890be7c7a387eb427921cd73b
 WHIRLPOOL 
45c70c339490789e2e1195a8b040358380e5e22438e58344e40b42c795a276d6e30c3efc452791ffe4093287c9d01f44d47be25c07fba925c9198c8f630149ba

diff --git a/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild 
b/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild
deleted file mode 100644
index cadd79e0ca1..000
--- a/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-MY_P="${P/_beta/b}"
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="http://pyusb.sourceforge.net/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE=""
-
-### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb:=
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-DOCS="README.rst docs/tutorial.rst"
-
-S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2016-09-05 Thread Manuel Rüger
commit: f08cbfb3e430638e375e8a64c4122848dd7ecbe2
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  5 21:34:43 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  5 21:35:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f08cbfb3

dev-python/pyusb: Version bump to 1.0.0, add python3_5

Package-Manager: portage-2.3.0

 dev-python/pyusb/Manifest   |  1 +
 dev-python/pyusb/pyusb-1.0.0.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index c777474..5e24f1f 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1 +1,2 @@
+DIST PyUSB-1.0.0.tar.gz 52559 SHA256 
5b34ffa74ac34f330bff949c94ee00ec4a9d147234db17ee2eed2a67c0275368 SHA512 
a66cd9e3c95d0ee0959667866101f089d5ba5d425a930cc32fdf679f8c1fde8681aaf464efc96cbdad99fbae9f72086c4704f857c757b12e4ce2016e3451dcc0
 WHIRLPOOL 
c93d3bb289646fc06bebadb7d2d5677d685e49756bbcd4ebf01e0eaec30620fbb3f7d925d3f11b9c8cb1d1af87fb357c27f0266c86b83a2c30aa001787f994ac
 DIST pyusb-1.0.0b2.tar.gz 57747 SHA256 
14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19 SHA512 
8a69f6cb3e2876a52c1caa0854e98586cf6d7e01225b132b4d37b92814727ae66398282aedbe5e521c509dc3ee6dfc5799b9f22890be7c7a387eb427921cd73b
 WHIRLPOOL 
45c70c339490789e2e1195a8b040358380e5e22438e58344e40b42c795a276d6e30c3efc452791ffe4093287c9d01f44d47be25c07fba925c9198c8f630149ba

diff --git a/dev-python/pyusb/pyusb-1.0.0.ebuild 
b/dev-python/pyusb/pyusb-1.0.0.ebuild
new file mode 100644
index ..5b7a4eb
--- /dev/null
+++ b/dev-python/pyusb/pyusb-1.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_P=PyUSB-${PV}
+
+DESCRIPTION="USB support for Python"
+HOMEPAGE="http://walac.github.io/pyusb/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+### This version is compatible with both 0.X and 1.X versions of libusb
+DEPEND="virtual/libusb:=
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+DOCS="README.rst docs/tutorial.rst"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2016-08-06 Thread Mike Gilbert
commit: 61cd20dbb6405bede76ba926fbb77ef3a6e0e45e
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Aug  6 18:13:53 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Aug  6 18:16:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61cd20db

dev-python/pyusb: remove old

Package-Manager: portage-2.3.0_p16

 dev-python/pyusb/Manifest   |  1 -
 dev-python/pyusb/pyusb-0.4.3.ebuild | 32 
 2 files changed, 33 deletions(-)

diff --git a/dev-python/pyusb/Manifest b/dev-python/pyusb/Manifest
index 2125e57..c777474 100644
--- a/dev-python/pyusb/Manifest
+++ b/dev-python/pyusb/Manifest
@@ -1,2 +1 @@
-DIST pyusb-0.4.3.tar.gz 16242 SHA256 
3c08b292886b7001ab088345af4d0dfe3e7d37bfc4b2bdcd7edb564ea3ef04d5 SHA512 
efe90f910cd8b02646de4ec47e28f6debbcc3c4ff7aa0a45d8355840abfdb079f8e9ac9ce78b785e3f5a26772c5118362e9f4a7a3629985eae2063bc06b53e4a
 WHIRLPOOL 
1a7f231520cf7f1a9777fadad5bfa1f4886172f5a643ba6b9dc5a58bf687629629670d8c12b79844ce692010b8bcd25dede5d6182d3677c9c8beea0cad3b9c7f
 DIST pyusb-1.0.0b2.tar.gz 57747 SHA256 
14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19 SHA512 
8a69f6cb3e2876a52c1caa0854e98586cf6d7e01225b132b4d37b92814727ae66398282aedbe5e521c509dc3ee6dfc5799b9f22890be7c7a387eb427921cd73b
 WHIRLPOOL 
45c70c339490789e2e1195a8b040358380e5e22438e58344e40b42c795a276d6e30c3efc452791ffe4093287c9d01f44d47be25c07fba925c9198c8f630149ba

diff --git a/dev-python/pyusb/pyusb-0.4.3.ebuild 
b/dev-python/pyusb/pyusb-0.4.3.ebuild
deleted file mode 100644
index a06a5d9..000
--- a/dev-python/pyusb/pyusb-0.4.3.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils flag-o-matic
-
-DESCRIPTION="USB support for Python"
-HOMEPAGE="http://pyusb.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="examples"
-
-### The bus enumeration does not appear to work with libusb-compat
-### A new version based on libusb-1.x is in the works, but not yet released
-DEPEND="virtual/libusb:0"
-RDEPEND="${DEPEND}"
-
-RESTRICT_PYTHON_ABIS="3*"
-
-src_install() {
-   distutils_src_install
-   if use examples; then
-   insinto /usr/share/doc/${PF}
-   doins -r samples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2016-08-06 Thread Mike Gilbert
commit: 7dbe0071888742e82a9974cbddd00821ca4bd8e6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Aug  6 18:15:49 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Aug  6 18:16:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dbe0071

dev-python/pyusb: add slot dependency for libusb

Package-Manager: portage-2.3.0_p16

 dev-python/pyusb/pyusb-1.0.0_beta2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild 
b/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild
index 7f5b3c1..a3e2033 100644
--- a/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild
+++ b/dev-python/pyusb/pyusb-1.0.0_beta2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86"
 IUSE=""
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
-DEPEND="virtual/libusb
+DEPEND="virtual/libusb:=
dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyusb/

2016-08-06 Thread Pacho Ramos
commit: 143d4dbe32468e660cc4357e08052d579c212f9c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Aug  6 08:44:27 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Aug  6 08:47:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143d4dbe

dev-python/pyusb: Cleanup per bug #64843

Package-Manager: portage-2.3.0

 dev-python/pyusb/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/pyusb/metadata.xml b/dev-python/pyusb/metadata.xml
index 36a92cc..b547c09 100644
--- a/dev-python/pyusb/metadata.xml
+++ b/dev-python/pyusb/metadata.xml
@@ -4,10 +4,6 @@

pyusb is a python wrapper for the libusb user space USB device 
library.

-   
-   jos...@gentoo.org
-   Joseph Jezak
-   

pyt...@gentoo.org
Python