summaryrefslogtreecommitdiff
path: root/dev-python/twython
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/twython
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/twython')
-rw-r--r--dev-python/twython/Manifest6
-rw-r--r--dev-python/twython/twython-3.3.0.ebuild21
-rw-r--r--dev-python/twython/twython-3.6.0.ebuild2
-rw-r--r--dev-python/twython/twython-3.7.0.ebuild34
4 files changed, 38 insertions, 25 deletions
diff --git a/dev-python/twython/Manifest b/dev-python/twython/Manifest
index 0113f6a30ed5..30ea6e1aabff 100644
--- a/dev-python/twython/Manifest
+++ b/dev-python/twython/Manifest
@@ -1,5 +1,5 @@
-DIST twython-3.3.0.tar.gz 34164 BLAKE2B 82320b4fc787c97a3b1f773fdd3d5c0c636e6062eb630cc7d78625f45fb8478789e4acc3c9a7ebf600d7abb591bb6113e167a11eaa7b6afebb419652f1d9833f SHA512 888f37c37f39c603b08605d2e209afc329e079c405adbe3a03fde4dab2b76b07d2badf1956d255d4b7ff0bf2a4c308b20f2a3333a7ccd0e7b9c046e9172b1d5f
DIST twython-3.6.0.tar.gz 36268 BLAKE2B 24305d2221cf7856f5e51bc3ec0fb4c342a8ce19c248ccc680bb1847e20a262f15399b4fe904852a159fc83a85d5617bd57c3ea9de064a5a25069175ae02178d SHA512 b99ecb244598a489578e63cec8a470daca7efe019f6a5277a0fda70b3c61ba25b56688b0a383337ed1c46576e551c244da82cd808710c4b9bb8ba91c6bc29be1
-EBUILD twython-3.3.0.ebuild 512 BLAKE2B 6dedd390a8a29ca97ced319b4791baf000e40cf447c773d651cea04009799238c63af060a257c5347538506286b75e8056a4ef74500920ee7b579c816c136610 SHA512 361f04048d38f73c01daaa5031e2f0431b7f9a69e0d202bc8536324d199d56f7c8cfca210e8c2ca539003bc4f815669f6dce20425b4c9bdc5d6de343263f3c08
-EBUILD twython-3.6.0.ebuild 514 BLAKE2B d7f27d452cfd2730b67f897dbb1b9716fdb2392f40eb5cc2f8c7d5c35dea5c9de8135df4653c1e88843a7e68415fea7eeea8793e93c4e35f6cfd39ebf0942197 SHA512 7acefb1a01c1d71a701cdec24fe12addbdff2a3f1d66e8375f7950145a897349308333aca3803b09f0c908bb17ffd063788cda385b393f49af10a148b25d11a1
+DIST twython-3.7.0.gh.tar.gz 373183 BLAKE2B a84e10c1d61736af3e93f265d92104dac15d5f7a43d7fbdce4e8c58b641f671a1c4c10f44c5b6d6ce9f0646860d35c14414b17e84daeb74f6e2c8871207b6fd4 SHA512 33eb35ea811ec1964fcd51fad54ba53d60e6caf3b5b7d11ae138f7228be9fb1eca7a02b1c6699a62cc2f6c39e035cb5a28f53ef67a98d019cdf91c9874867871
+EBUILD twython-3.6.0.ebuild 512 BLAKE2B 6dedd390a8a29ca97ced319b4791baf000e40cf447c773d651cea04009799238c63af060a257c5347538506286b75e8056a4ef74500920ee7b579c816c136610 SHA512 361f04048d38f73c01daaa5031e2f0431b7f9a69e0d202bc8536324d199d56f7c8cfca210e8c2ca539003bc4f815669f6dce20425b4c9bdc5d6de343263f3c08
+EBUILD twython-3.7.0.ebuild 904 BLAKE2B 247d5b23714143dbc53473459c5e9f04536835a39806411b97dde013d21692ade7681f5549fd77a5cbaf40a110ce4c6680df0ddef4d72b31cf04ee305cb38e69 SHA512 61aedd567e7438cd7411ff0784829ee75733909f74e9e81fe86dd043c51f0091545b66f0fcb71413f7c9254aab46f5a5a13b39afe144c36ba52fd4e6a31b12c1
MISC metadata.xml 381 BLAKE2B 8c4300189076c3f5cb8498a4aae6ce79751ccc3b51295ac6c75b8b290f71cc9f0aea946a7d7c4e75434372459aedcf7d0286c31039221c06e48b945904e35814 SHA512 6ba06a2be42b96f85609cc2a10637ff911228a8f0a5b5fa1debc3d4c6ba6d9e57462f09cdcb96e12f75544fd3a161d5e3ecb5a89e8f50fa152dc7ccc795048f6
diff --git a/dev-python/twython/twython-3.3.0.ebuild b/dev-python/twython/twython-3.3.0.ebuild
deleted file mode 100644
index cda1f7b4a7ff..000000000000
--- a/dev-python/twython/twython-3.3.0.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="An easy (and up to date) way to access Twitter data with Python"
-HOMEPAGE="https://github.com/ryanmcgrath/twython"
-SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="MIT"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
- >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/twython/twython-3.6.0.ebuild b/dev-python/twython/twython-3.6.0.ebuild
index ce37c5a7b43e..cda1f7b4a7ff 100644
--- a/dev-python/twython/twython-3.6.0.ebuild
+++ b/dev-python/twython/twython-3.6.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
diff --git a/dev-python/twython/twython-3.7.0.ebuild b/dev-python/twython/twython-3.7.0.ebuild
new file mode 100644
index 000000000000..78ec75b623aa
--- /dev/null
+++ b/dev-python/twython/twython-3.7.0.ebuild
@@ -0,0 +1,34 @@
+# 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
+
+DESCRIPTION="An easy way to access Twitter data with Python"
+HOMEPAGE="https://github.com/ryanmcgrath/twython"
+SRC_URI="https://github.com/ryanmcgrath/twython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? ( dev-python/responses[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # tests are largely broken/outdated
+ sed -e 's:test_get_lastfunction_header_should_return_header:_&:' \
+ -e 's:test_request_should_handle_4:_&:' \
+ -e 's:test_request_should_handle_rate_limit:_&:' \
+ -i tests/test_core.py || die
+
+ distutils-r1_src_prepare
+}