[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-08-05 Thread Andrew Ammerlaan
commit: 3bf0b97db4fce1872b6dcd256454fa1d849c5fcf
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Aug  5 08:33:08 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Aug  5 08:33:08 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bf0b97d

dev-python/tekore: version bump

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-2.1.2.ebuild => tekore-2.1.3.ebuild} | 6 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index b0b26d2..8d0a1f7 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1,2 +1,2 @@
 DIST tekore-1.7.0.tar.gz 191852 BLAKE2B 
ca0be9e5b8f4e291de87d495098f295529c75457aca466627ab2d8973365a64b40f7a618883c0178ed6482ac4d62ef95d78341992404a4bbbec803fe939afcfb
 SHA512 
a62b456621633e05edb39944e0cf36a0df092468c9e238f6028f8ea684613e37c32f5257d6fb681c758e01f451e2f3d0993f5fa9344463e9f12b5945add161b0
-DIST tekore-2.1.2.tar.gz 202009 BLAKE2B 
a0d5a6314fa96bb917a1c8d71ee1e5519f046aa4289f4d86b3fdbab40d8f83bfd2753e2ac700ed0d876259c77db889a5cbb5b20532f5efae531882e514267a2f
 SHA512 
04fa94abce4c5180c29474fb2bfa80d05a7d421979b535dcda0e281dfa087d405f40a51a2b530e1b06725f5005aec3ff72ae90fc1c786cf9656f972975d985ee
+DIST tekore-2.1.3.tar.gz 202522 BLAKE2B 
2328116cf0d25e2c55e9f68c38064293bfb3e0d5361d02a7ed9f79a723ede54afeee2a355949ea619c56f02b242497a58044704197b757530cf51273b6970cc4
 SHA512 
d0895cdeee442bda19aecccd0cc2bd4022284972c535dac42d1aaa3c1e2b6676e9d80515cee44c555e6180b2b81a007fa43e77cb44f81c90e06aad6c6410d981

diff --git a/dev-python/tekore/tekore-2.1.2.ebuild 
b/dev-python/tekore/tekore-2.1.3.ebuild
similarity index 89%
rename from dev-python/tekore/tekore-2.1.2.ebuild
rename to dev-python/tekore/tekore-2.1.3.ebuild
index 84d7136..c821256 100644
--- a/dev-python/tekore/tekore-2.1.2.ebuild
+++ b/dev-python/tekore/tekore-2.1.3.ebuild
@@ -23,6 +23,11 @@ RDEPEND="
media-sound/spotify
 "
 
+BDEPEND="test? (
+   >=dev-python/pytest-asyncio-0.11[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-07-21 Thread Andrew Ammerlaan
commit: 586120d378fe55c054403f31f169b749ad398639
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jul 21 08:13:33 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jul 21 08:13:33 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=586120d3

dev-python/tekore: minor version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-2.1.1.ebuild => tekore-2.1.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index 06c2619..b0b26d2 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1,2 +1,2 @@
 DIST tekore-1.7.0.tar.gz 191852 BLAKE2B 
ca0be9e5b8f4e291de87d495098f295529c75457aca466627ab2d8973365a64b40f7a618883c0178ed6482ac4d62ef95d78341992404a4bbbec803fe939afcfb
 SHA512 
a62b456621633e05edb39944e0cf36a0df092468c9e238f6028f8ea684613e37c32f5257d6fb681c758e01f451e2f3d0993f5fa9344463e9f12b5945add161b0
-DIST tekore-2.1.1.tar.gz 201959 BLAKE2B 
e845c77353f4d8f455ea051c80e20e94d63e5fcef3ff2dfd37d13d5db1554ac261fe3f05e4db2713ab9e8a72436ea682ece8cae26d7a6f0cf31d73a65a91b1d9
 SHA512 
14c497344dbd7b885a5fb70722cb2b2f3ef8a760f0ad653acd5ae7bb76f90daee816959e10ac23a2427509718cfde7def1e6abe3c4c2f4a33b4b50bb49cb88ff
+DIST tekore-2.1.2.tar.gz 202009 BLAKE2B 
a0d5a6314fa96bb917a1c8d71ee1e5519f046aa4289f4d86b3fdbab40d8f83bfd2753e2ac700ed0d876259c77db889a5cbb5b20532f5efae531882e514267a2f
 SHA512 
04fa94abce4c5180c29474fb2bfa80d05a7d421979b535dcda0e281dfa087d405f40a51a2b530e1b06725f5005aec3ff72ae90fc1c786cf9656f972975d985ee

diff --git a/dev-python/tekore/tekore-2.1.1.ebuild 
b/dev-python/tekore/tekore-2.1.2.ebuild
similarity index 100%
rename from dev-python/tekore/tekore-2.1.1.ebuild
rename to dev-python/tekore/tekore-2.1.2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-06-30 Thread Andrew Ammerlaan
commit: 21b5fb1e7f589b55382af515a819eb0b2e4eadc1
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jun 30 19:26:19 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jun 30 19:26:19 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21b5fb1e

dev-python/tekore: drop py3_6

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.7.0.ebuild | 6 +-
 dev-python/tekore/tekore-2.1.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dev-python/tekore/tekore-1.7.0.ebuild 
b/dev-python/tekore/tekore-1.7.0.ebuild
index 053b6d0..67deaf4 100644
--- a/dev-python/tekore/tekore-1.7.0.ebuild
+++ b/dev-python/tekore/tekore-1.7.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 inherit distutils-r1
 
@@ -16,15 +16,11 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-# tests fail with py3_6: no module named run
-RESTRICT="python_targets_python3_6? ( test )"
-
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/httpx-0.11.1[${PYTHON_USEDEP}]


[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-05-28 Thread Andrew Ammerlaan
commit: f7c9a08e8db8d9745788e3f79112f9dd2e9bb197
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu May 28 10:38:54 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May 28 10:38:54 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7c9a08e

dev-python/tekore: version bump

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest|  1 +
 dev-python/tekore/tekore-2.0.0.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index d7335cc..51a503c 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1,2 @@
 DIST tekore-1.7.0.tar.gz 191852 BLAKE2B 
ca0be9e5b8f4e291de87d495098f295529c75457aca466627ab2d8973365a64b40f7a618883c0178ed6482ac4d62ef95d78341992404a4bbbec803fe939afcfb
 SHA512 
a62b456621633e05edb39944e0cf36a0df092468c9e238f6028f8ea684613e37c32f5257d6fb681c758e01f451e2f3d0993f5fa9344463e9f12b5945add161b0
+DIST tekore-2.0.0.tar.gz 200852 BLAKE2B 
e4611083dd442e557b05924335ac2607aa02e9894e95d129bc78d5eff477c0eecf6ab797c6d683e64230a45cca7c301c02ec31f6a0c7430dd8375dbbad98ad6f
 SHA512 
a1f9584ff3d43e160761a93f7150265e37f974a28aacb7071d29ccb10de769ad1cda7e402b94edec6207e08d5724b2c7a65ac1dbc8b4849b7819c3f6f15a8df0

diff --git a/dev-python/tekore/tekore-2.0.0.ebuild 
b/dev-python/tekore/tekore-2.0.0.ebuild
new file mode 100644
index 000..da9463e
--- /dev/null
+++ b/dev-python/tekore/tekore-2.0.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Spotify Web API client"
+HOMEPAGE="https://tekore.readthedocs.io
+   https://github.com/felix-hilden/tekore;
+SRC_URI="https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+   >=dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-04-28 Thread Andrew Ammerlaan
commit: 6626415d0bb28316b96a7b06d5a6ad18d54199fa
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Apr 28 07:39:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Apr 28 07:39:47 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6626415d

dev-python/tekore: minor version bump 1.7.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-1.6.0.ebuild => tekore-1.7.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index 1bb6555..d7335cc 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.6.0.tar.gz 191825 BLAKE2B 
6122ee7fa9b7f0380e18457168aeea2405036cd11a6be4369ce6e343e8ddc97b9b7ddf4cdd3879eaeee503a833e2fa08e459dd6f794143ca7e59109848fad2f9
 SHA512 
01190393c7762056095f30c17245620c732241b835787b3ffddbfe2dfe3025be813b35fe64cf0289bcd2a9cb6ac5d3d537b55eb16449991bc055331dd3fe8b7b
+DIST tekore-1.7.0.tar.gz 191852 BLAKE2B 
ca0be9e5b8f4e291de87d495098f295529c75457aca466627ab2d8973365a64b40f7a618883c0178ed6482ac4d62ef95d78341992404a4bbbec803fe939afcfb
 SHA512 
a62b456621633e05edb39944e0cf36a0df092468c9e238f6028f8ea684613e37c32f5257d6fb681c758e01f451e2f3d0993f5fa9344463e9f12b5945add161b0

diff --git a/dev-python/tekore/tekore-1.6.0.ebuild 
b/dev-python/tekore/tekore-1.7.0.ebuild
similarity index 100%
rename from dev-python/tekore/tekore-1.6.0.ebuild
rename to dev-python/tekore/tekore-1.7.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-28 Thread Andrew Ammerlaan
commit: e88a44ea53c5659f6ca2fc491d2b62763d2ddf8a
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Mar 28 10:59:55 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Mar 28 11:00:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e88a44ea

dev-python/tekore: re-add py3_7

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.5.0.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/tekore/tekore-1.5.0.ebuild 
b/dev-python/tekore/tekore-1.5.0.ebuild
index 53e4cb7..9c3b0c4 100644
--- a/dev-python/tekore/tekore-1.5.0.ebuild
+++ b/dev-python/tekore/tekore-1.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 # tests fail with py3_6
-RESTRICT="test"
+RESTRICT="python_targets_python3_6? ( test )"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
@@ -29,9 +29,10 @@ RDEPEND="
 DOCS="readme.rst"
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
+# doc not working: 'PosixPath' object has no attribute 'rstrip'
+#distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
 
-#is this necessary?
+#need this, otherwise: no tests ran
 python_test() {
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-27 Thread Alessandro Barbieri
commit: 412e5f58ecf8a342cea79ede059c71ac502054ae
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 27 18:23:58 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 27 18:23:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=412e5f58

dev-python/tekore: fixes

* re-keyword for py3.7 when deps are available again

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/tekore/tekore-1.5.0.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/tekore/tekore-1.5.0.ebuild 
b/dev-python/tekore/tekore-1.5.0.ebuild
index a61bf2a..53e4cb7 100644
--- a/dev-python/tekore/tekore-1.5.0.ebuild
+++ b/dev-python/tekore/tekore-1.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 
@@ -17,19 +17,21 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 # tests fail with py3_6
-RESTRICT="python_targets_python3_6? ( test )"
+RESTRICT="test"
 
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
~dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
media-sound/spotify
-   python_targets_python3_6? ( 
dev-python/dataclasses[python_targets_python3_6] )"
+   $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' 
python3_6)
+"
 
 DOCS="readme.rst"
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
 
+#is this necessary?
 python_test() {
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-12 Thread Andrew Ammerlaan
commit: a4b43b338c8ff939b681f466cd73797950f1a5bd
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Mar 12 08:17:46 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Mar 12 08:17:46 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4b43b33

dev-python/tekore: version bump 1.5.0

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-1.4.0.ebuild => tekore-1.5.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index d40fc42..ee01f04 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.4.0.tar.gz 186665 BLAKE2B 
f3b06df721f76ac74e1dbe78292f94ab6f9d54203181e7ac7d4d55f2bd6607d136f5a8c0cadf86db95874e9dd99670567fe617b84f3ff8da5c741bc6dc15
 SHA512 
ba1036c6da0930c168f7f1112e671da3b1d0896d325a273d11120cd7c7515d1e680c8dfe855e7811928b381be769341d63aa87f32c6d992d30f45837ab51424d
+DIST tekore-1.5.0.tar.gz 186916 BLAKE2B 
014e76afb5b12b6302a8956fee0fa1e80adc76480fd40c730ada00f549fc508361cde9b16e60775661b31147337da91bc0aa636d57b86fa10dfe5f4873fd20f7
 SHA512 
d0d708d68c931c7bf1586a36a00ff6621d0fd506d63dd45f0b39a1c529a93d627bb493cc3eb184f6044fd8f03becdee077ea768e5a941b322ab8c53efeae2658

diff --git a/dev-python/tekore/tekore-1.4.0.ebuild 
b/dev-python/tekore/tekore-1.5.0.ebuild
similarity index 100%
rename from dev-python/tekore/tekore-1.4.0.ebuild
rename to dev-python/tekore/tekore-1.5.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-09 Thread Andrew Ammerlaan
commit: e01bfb53bfa2572947d74941b02586afd87553cd
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  9 16:52:09 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  9 16:52:09 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e01bfb53

dev-python/tekore: do not test if py3_6

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.4.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/tekore/tekore-1.4.0.ebuild 
b/dev-python/tekore/tekore-1.4.0.ebuild
index 93f8f55..a61bf2a 100644
--- a/dev-python/tekore/tekore-1.4.0.ebuild
+++ b/dev-python/tekore/tekore-1.4.0.ebuild
@@ -16,6 +16,9 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
+# tests fail with py3_6
+RESTRICT="python_targets_python3_6? ( test )"
+
 RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
~dev-python/httpx-0.11.1[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-09 Thread Andrew Ammerlaan
commit: 2bc209fb011e87ee41f7bf2111eb68a0187f913d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  9 16:38:35 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  9 16:38:35 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bc209fb

dev-python/tekore: depend on dataclasses if py3_6

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.4.0.ebuild | 23 +++
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/dev-python/tekore/tekore-1.4.0.ebuild 
b/dev-python/tekore/tekore-1.4.0.ebuild
index 88c60d0..93f8f55 100644
--- a/dev-python/tekore/tekore-1.4.0.ebuild
+++ b/dev-python/tekore/tekore-1.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -16,25 +16,16 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-distutils_enable_sphinx docs/src
-
-# the enable_sphinx fucntion seems to act strange when there is only 1 
PYTHON_COMPAT
-# repoman says:
-# dev-python/tekore/tekore-1.1.0.ebuild: BDEPEND: 
~x86(default/linux/x86/17.0/systemd)
-# [ 
'dev-python/sphinx[python_targets_python3_7(-),python_single_target_python3_7(+)]']
-# therefore we overwrite the deps that the function adds here:
-BDEPEND="doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )"
-
-RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/httpx[${PYTHON_USEDEP}]
-   media-sound/spotify"
+RDEPEND="
+   dev-python/requests[${PYTHON_USEDEP}]
+   ~dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
+   media-sound/spotify
+   python_targets_python3_6? ( 
dev-python/dataclasses[python_targets_python3_6] )"
 
 DOCS="readme.rst"
 
 distutils_enable_tests pytest
+distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme 
dev-python/sphinx-autodoc-typehints
 
 python_test() {
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-04 Thread Andrew Ammerlaan
commit: 466a3822888e37af4fd4443d975ca4a5bc2f0f47
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Mar  4 11:04:14 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Mar  4 11:04:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=466a3822

dev-python/tekore: depend on spotify

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.4.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/tekore/tekore-1.4.0.ebuild 
b/dev-python/tekore/tekore-1.4.0.ebuild
index cff5cc9..88c60d0 100644
--- a/dev-python/tekore/tekore-1.4.0.ebuild
+++ b/dev-python/tekore/tekore-1.4.0.ebuild
@@ -29,7 +29,8 @@ BDEPEND="doc? (
dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )"
 
 RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/httpx[${PYTHON_USEDEP}]"
+   dev-python/httpx[${PYTHON_USEDEP}]
+   media-sound/spotify"
 
 DOCS="readme.rst"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-02 Thread Andrew Ammerlaan
commit: 7b6f96093344b4e6d8463b21afa48c213ecf9fc5
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  2 10:26:19 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  2 10:26:19 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b6f9609

dev-python/tekore: Remove unnecessary pytest-qt dep

why was that there?
tests work just fine without it

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.4.0.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-python/tekore/tekore-1.4.0.ebuild 
b/dev-python/tekore/tekore-1.4.0.ebuild
index a962f19..cff5cc9 100644
--- a/dev-python/tekore/tekore-1.4.0.ebuild
+++ b/dev-python/tekore/tekore-1.4.0.ebuild
@@ -31,8 +31,6 @@ BDEPEND="doc? (
 RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]"
 
-DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )"
-
 DOCS="readme.rst"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-03-02 Thread Andrew Ammerlaan
commit: 3674408fc211308448284897f82f54ba77fb2b32
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  2 08:56:02 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  2 08:56:02 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3674408f

dev-python/tekore: Version bump 1.4.0

Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest |  2 +-
 dev-python/tekore/{tekore-1.3.0.ebuild => tekore-1.4.0.ebuild} | 10 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index 089033f..d40fc42 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.3.0.tar.gz 185198 BLAKE2B 
fcc5b46493d06c7d4acbcc7dd6b3078a280ccbc8d0e53d721c0445add150a53e947f6dbfaab5dfff27a4fc651a36a49904c693a2d24f1d09b94c95e05c202624
 SHA512 
10fb189374cf2b0a09120ff3f7c59de96b2374d1d7583fec36247e909d3589fdbf0d1411cbd3e134700ab58f34fece5cee5b9dbca72a38619c1f8c23d338c170
+DIST tekore-1.4.0.tar.gz 186665 BLAKE2B 
f3b06df721f76ac74e1dbe78292f94ab6f9d54203181e7ac7d4d55f2bd6607d136f5a8c0cadf86db95874e9dd99670567fe617b84f3ff8da5c741bc6dc15
 SHA512 
ba1036c6da0930c168f7f1112e671da3b1d0896d325a273d11120cd7c7515d1e680c8dfe855e7811928b381be769341d63aa87f32c6d992d30f45837ab51424d

diff --git a/dev-python/tekore/tekore-1.3.0.ebuild 
b/dev-python/tekore/tekore-1.4.0.ebuild
similarity index 83%
rename from dev-python/tekore/tekore-1.3.0.ebuild
rename to dev-python/tekore/tekore-1.4.0.ebuild
index 7f8ce98..a962f19 100644
--- a/dev-python/tekore/tekore-1.3.0.ebuild
+++ b/dev-python/tekore/tekore-1.4.0.ebuild
@@ -16,7 +16,7 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-distutils_enable_sphinx docs
+distutils_enable_sphinx docs/src
 
 # the enable_sphinx fucntion seems to act strange when there is only 1 
PYTHON_COMPAT
 # repoman says:
@@ -37,14 +37,6 @@ DOCS="readme.rst"
 
 distutils_enable_tests pytest
 
-python_prepare_all() {
-   # docs fail: AttributeError: 'PosixPath' object has no attribute 
'rstrip'
-   sed -i -e 's:sys.path.insert(0, _root):#&:' \
-   docs/conf.py || die
-
-   distutils-r1_python_prepare_all
-}
-
 python_test() {
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-02-26 Thread Andrew Ammerlaan
commit: 2f2d2fd75480c23aa752191de2604942be826f82
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 26 19:29:14 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 26 19:29:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f2d2fd7

dev-python/tekore: Version bump 1.3.0

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-1.2.0.ebuild => tekore-1.3.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index 906a44e..089033f 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.2.0.tar.gz 140391 BLAKE2B 
1ea9a70085a82385cfb8ef3013aa7acbbad00093fac2e4c5ac15d6faf4cd2a78643d975e7cff9299f2e3579788ea9fa35962ae9862113dded45c6a00a13746f9
 SHA512 
883f0bf9bef16961bc3bc5a0e1e6566d5e549c822ed9f056ff971810df2e54d0ef63a7d7618a6fc48213a96d62e7d2e54aae8e164f865bc0a49868b536688850
+DIST tekore-1.3.0.tar.gz 185198 BLAKE2B 
fcc5b46493d06c7d4acbcc7dd6b3078a280ccbc8d0e53d721c0445add150a53e947f6dbfaab5dfff27a4fc651a36a49904c693a2d24f1d09b94c95e05c202624
 SHA512 
10fb189374cf2b0a09120ff3f7c59de96b2374d1d7583fec36247e909d3589fdbf0d1411cbd3e134700ab58f34fece5cee5b9dbca72a38619c1f8c23d338c170

diff --git a/dev-python/tekore/tekore-1.2.0.ebuild 
b/dev-python/tekore/tekore-1.3.0.ebuild
similarity index 100%
rename from dev-python/tekore/tekore-1.2.0.ebuild
rename to dev-python/tekore/tekore-1.3.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-02-17 Thread Andrew Ammerlaan
commit: 47842e84a1496e48833f8a1c7b90f056e33e6f0f
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Feb 17 14:38:55 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb 17 14:38:55 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47842e84

dev-python/tekore: Version bump 1.2.0

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest | 2 +-
 dev-python/tekore/{tekore-1.1.0.ebuild => tekore-1.2.0.ebuild} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index b4bc819..906a44e 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.1.0.tar.gz 138871 BLAKE2B 
5580c502129ed1fd9c7a7f6a860d918a0a46f6ac51a3f6bef5f08c1e036756684d11c670e55343c27ff3dd7a40fa45b2307a9a27b594558525b7d4a41617908c
 SHA512 
968315f3818803f076798a88f791ca10a4a118850ee730d449e2db8e5d5aca00293f8d8483a4d9edb9802b103aa6328a7514f58f4959bb0a551ed11b065ece87
+DIST tekore-1.2.0.tar.gz 140391 BLAKE2B 
1ea9a70085a82385cfb8ef3013aa7acbbad00093fac2e4c5ac15d6faf4cd2a78643d975e7cff9299f2e3579788ea9fa35962ae9862113dded45c6a00a13746f9
 SHA512 
883f0bf9bef16961bc3bc5a0e1e6566d5e549c822ed9f056ff971810df2e54d0ef63a7d7618a6fc48213a96d62e7d2e54aae8e164f865bc0a49868b536688850

diff --git a/dev-python/tekore/tekore-1.1.0.ebuild 
b/dev-python/tekore/tekore-1.2.0.ebuild
similarity index 95%
rename from dev-python/tekore/tekore-1.1.0.ebuild
rename to dev-python/tekore/tekore-1.2.0.ebuild
index 456c7d2..7f8ce98 100644
--- a/dev-python/tekore/tekore-1.1.0.ebuild
+++ b/dev-python/tekore/tekore-1.2.0.ebuild
@@ -31,6 +31,8 @@ BDEPEND="doc? (
 RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]"
 
+DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )"
+
 DOCS="readme.rst"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/

2020-02-10 Thread Andrew Ammerlaan
commit: 744f03002c637d9ad4fd63c3051350d84dd91c37
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Feb 10 14:08:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb 10 14:11:06 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=744f0300

dev-python/tekore: Fix IUSE="doc"

distutils_enable_sphinx acts weird when there is only one python
version in PYTHON_COMPAT, for some reason it wants to add
PYTHON_SINGLE_TARGET to use of sphinx-* deps, but these deps
don't have PYTHON_SINGLE_TARGET

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/tekore-1.1.0.ebuild | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-python/tekore/tekore-1.1.0.ebuild 
b/dev-python/tekore/tekore-1.1.0.ebuild
index f356ed9..456c7d2 100644
--- a/dev-python/tekore/tekore-1.1.0.ebuild
+++ b/dev-python/tekore/tekore-1.1.0.ebuild
@@ -16,12 +16,23 @@ LICENSE="MIT"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
+distutils_enable_sphinx docs
+
+# the enable_sphinx fucntion seems to act strange when there is only 1 
PYTHON_COMPAT
+# repoman says:
+# dev-python/tekore/tekore-1.1.0.ebuild: BDEPEND: 
~x86(default/linux/x86/17.0/systemd)
+# [ 
'dev-python/sphinx[python_targets_python3_7(-),python_single_target_python3_7(+)]']
+# therefore we overwrite the deps that the function adds here:
+BDEPEND="doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )"
+
 RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]"
 
 DOCS="readme.rst"
 
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] 
dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}]
 distutils_enable_tests pytest
 
 python_prepare_all() {



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/files/, dev-python/tekore/

2020-02-03 Thread Andrew Ammerlaan
commit: 47994475c1fe4edf60b77105c2b8c6f12f8ff615
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Feb  3 17:56:14 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  3 17:56:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47994475

dev-python/tekore: Version bump 1.1.0

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest |  2 +-
 .../tekore-1.0.1-skip-sender_type-tests.patch  | 75 --
 dev-python/tekore/metadata.xml |  4 --
 .../{tekore-1.0.1.ebuild => tekore-1.1.0.ebuild}   | 19 --
 4 files changed, 14 insertions(+), 86 deletions(-)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index ace9472..b4bc819 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1 @@
-DIST tekore-1.0.1.tar.gz 130077 BLAKE2B 
21550c7545125248a0f8ac61eb1c97e80b299de38940ec36b20dbc73fc8224cc703955b0e6aefac1fdd98d59a55e67d24995dcbbeb17f8670515d7acea86be16
 SHA512 
fb02005990daff11b0c3d7881ad2842578a35e0e62fec5130506d4df48311c2cceae9e7d3a322ad8058a058fdc92bac06533b958be2b57a9d8e85e16c39ef062
+DIST tekore-1.1.0.tar.gz 138871 BLAKE2B 
5580c502129ed1fd9c7a7f6a860d918a0a46f6ac51a3f6bef5f08c1e036756684d11c670e55343c27ff3dd7a40fa45b2307a9a27b594558525b7d4a41617908c
 SHA512 
968315f3818803f076798a88f791ca10a4a118850ee730d449e2db8e5d5aca00293f8d8483a4d9edb9802b103aa6328a7514f58f4959bb0a551ed11b065ece87

diff --git a/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch 
b/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch
deleted file mode 100644
index 3ab0043..000
--- a/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-diff --git a/tests/sender.py b/tests/sender.py
-index 0f9334b..5c5966f 100644
 a/tests/sender.py
-+++ b/tests/sender.py
-@@ -55,22 +55,22 @@ class TestSingletonSender(unittest.TestCase):
- )
- 
- 
--def test_request_prepared(sender_type):
--mock = MockSessionFactory()
--with patch('tekore.sender.Session', mock):
--s = sender_type()
--r = Request()
--s.send(r)
--mock.instances[0].prepare_request.assert_called_with(r)
--
--
--def test_keywords_passed_to_session(sender_type):
--mock = MockSessionFactory()
--kwargs = dict(k1='k1', k2='k2')
--with patch('tekore.sender.Session', mock):
--s = sender_type(**kwargs)
--s.send(Request())
--mock.instances[0].send.assert_called_with(mock.prepare_return, 
**kwargs)
-+# def test_request_prepared(sender_type):
-+# mock = MockSessionFactory()
-+# with patch('tekore.sender.Session', mock):
-+# s = sender_type()
-+# r = Request()
-+# s.send(r)
-+# mock.instances[0].prepare_request.assert_called_with(r)
-+
-+
-+# def test_keywords_passed_to_session(sender_type):
-+# mock = MockSessionFactory()
-+# kwargs = dict(k1='k1', k2='k2')
-+# with patch('tekore.sender.Session', mock):
-+# s = sender_type(**kwargs)
-+# s.send(Request())
-+# mock.instances[0].send.assert_called_with(mock.prepare_return, 
**kwargs)
- 
- 
- class TestPersistentSender(unittest.TestCase):
-@@ -88,11 +88,11 @@ class TestPersistentSender(unittest.TestCase):
- s2 = PersistentSender()
- self.assertTrue(s1.session is not s2.session)
- 
--def test_request_prepared(self):
--test_request_prepared(PersistentSender)
-+# def test_request_prepared(self):
-+# test_request_prepared(PersistentSender)
- 
--def test_keywords_passed_to_session(self):
--test_keywords_passed_to_session(PersistentSender)
-+# def test_keywords_passed_to_session(self):
-+# test_keywords_passed_to_session(PersistentSender)
- 
- 
- class TestTransientSender(unittest.TestCase):
-@@ -104,11 +104,11 @@ class TestTransientSender(unittest.TestCase):
- s.send(Request())
- self.assertEqual(len(mock.instances), 2)
- 
--def test_request_prepared(self):
--test_request_prepared(TransientSender)
-+# def test_request_prepared(self):
-+# test_request_prepared(TransientSender)
- 
--def test_keywords_passed_to_session(self):
--test_keywords_passed_to_session(TransientSender)
-+# def test_keywords_passed_to_session(self):
-+# test_keywords_passed_to_session(TransientSender)
- 
- 
- def ok_response() -> MagicMock:

diff --git a/dev-python/tekore/metadata.xml b/dev-python/tekore/metadata.xml
index dd0bd9c..628ab20 100644
--- a/dev-python/tekore/metadata.xml
+++ b/dev-python/tekore/metadata.xml
@@ -6,8 +6,4 @@
 andrewammerl...@riseup.net
 Andrew Ammerlaan
 
-
-proxy-ma...@gentoo.org
-Proxy Maintainers
-
 

diff --git a/dev-python/tekore/tekore-1.0.1.ebuild 
b/dev-python/tekore/tekore-1.1.0.ebuild
similarity index 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/files/, dev-python/tekore/

2020-01-21 Thread Andrew Ammerlaan
commit: bfcaa87979b99f0fa3b05599abd1bc75abad41ae
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jan 21 14:47:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jan 21 14:47:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfcaa879

dev-python/tekore: Spotify Web API client

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/tekore/Manifest |  1 +
 .../tekore-1.0.1-skip-sender_type-tests.patch  | 75 ++
 dev-python/tekore/metadata.xml | 13 
 dev-python/tekore/tekore-1.0.1.ebuild  | 30 +
 4 files changed, 119 insertions(+)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
new file mode 100644
index 000..ace9472
--- /dev/null
+++ b/dev-python/tekore/Manifest
@@ -0,0 +1 @@
+DIST tekore-1.0.1.tar.gz 130077 BLAKE2B 
21550c7545125248a0f8ac61eb1c97e80b299de38940ec36b20dbc73fc8224cc703955b0e6aefac1fdd98d59a55e67d24995dcbbeb17f8670515d7acea86be16
 SHA512 
fb02005990daff11b0c3d7881ad2842578a35e0e62fec5130506d4df48311c2cceae9e7d3a322ad8058a058fdc92bac06533b958be2b57a9d8e85e16c39ef062

diff --git a/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch 
b/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch
new file mode 100644
index 000..3ab0043
--- /dev/null
+++ b/dev-python/tekore/files/tekore-1.0.1-skip-sender_type-tests.patch
@@ -0,0 +1,75 @@
+diff --git a/tests/sender.py b/tests/sender.py
+index 0f9334b..5c5966f 100644
+--- a/tests/sender.py
 b/tests/sender.py
+@@ -55,22 +55,22 @@ class TestSingletonSender(unittest.TestCase):
+ )
+ 
+ 
+-def test_request_prepared(sender_type):
+-mock = MockSessionFactory()
+-with patch('tekore.sender.Session', mock):
+-s = sender_type()
+-r = Request()
+-s.send(r)
+-mock.instances[0].prepare_request.assert_called_with(r)
+-
+-
+-def test_keywords_passed_to_session(sender_type):
+-mock = MockSessionFactory()
+-kwargs = dict(k1='k1', k2='k2')
+-with patch('tekore.sender.Session', mock):
+-s = sender_type(**kwargs)
+-s.send(Request())
+-mock.instances[0].send.assert_called_with(mock.prepare_return, 
**kwargs)
++# def test_request_prepared(sender_type):
++# mock = MockSessionFactory()
++# with patch('tekore.sender.Session', mock):
++# s = sender_type()
++# r = Request()
++# s.send(r)
++# mock.instances[0].prepare_request.assert_called_with(r)
++
++
++# def test_keywords_passed_to_session(sender_type):
++# mock = MockSessionFactory()
++# kwargs = dict(k1='k1', k2='k2')
++# with patch('tekore.sender.Session', mock):
++# s = sender_type(**kwargs)
++# s.send(Request())
++# mock.instances[0].send.assert_called_with(mock.prepare_return, 
**kwargs)
+ 
+ 
+ class TestPersistentSender(unittest.TestCase):
+@@ -88,11 +88,11 @@ class TestPersistentSender(unittest.TestCase):
+ s2 = PersistentSender()
+ self.assertTrue(s1.session is not s2.session)
+ 
+-def test_request_prepared(self):
+-test_request_prepared(PersistentSender)
++# def test_request_prepared(self):
++# test_request_prepared(PersistentSender)
+ 
+-def test_keywords_passed_to_session(self):
+-test_keywords_passed_to_session(PersistentSender)
++# def test_keywords_passed_to_session(self):
++# test_keywords_passed_to_session(PersistentSender)
+ 
+ 
+ class TestTransientSender(unittest.TestCase):
+@@ -104,11 +104,11 @@ class TestTransientSender(unittest.TestCase):
+ s.send(Request())
+ self.assertEqual(len(mock.instances), 2)
+ 
+-def test_request_prepared(self):
+-test_request_prepared(TransientSender)
++# def test_request_prepared(self):
++# test_request_prepared(TransientSender)
+ 
+-def test_keywords_passed_to_session(self):
+-test_keywords_passed_to_session(TransientSender)
++# def test_keywords_passed_to_session(self):
++# test_keywords_passed_to_session(TransientSender)
+ 
+ 
+ def ok_response() -> MagicMock:

diff --git a/dev-python/tekore/metadata.xml b/dev-python/tekore/metadata.xml
new file mode 100644
index 000..dd0bd9c
--- /dev/null
+++ b/dev-python/tekore/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+
+
+proxy-ma...@gentoo.org
+Proxy Maintainers
+
+

diff --git a/dev-python/tekore/tekore-1.0.1.ebuild 
b/dev-python/tekore/tekore-1.0.1.ebuild
new file mode 100644
index 000..64c1c55
--- /dev/null
+++ b/dev-python/tekore/tekore-1.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1