diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:49:31 +0100 |
commit | 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (patch) | |
tree | d9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /dev-python/PyGithub | |
parent | a1392efe64137262023d92492396ca9156d22396 (diff) |
Revert "gentoo resync : 13.09.2019"
This reverts commit a1392efe64137262023d92492396ca9156d22396.
Diffstat (limited to 'dev-python/PyGithub')
-rw-r--r-- | dev-python/PyGithub/Manifest | 6 | ||||
-rw-r--r-- | dev-python/PyGithub/PyGithub-1.39.ebuild | 24 | ||||
-rw-r--r-- | dev-python/PyGithub/PyGithub-1.43.7.ebuild | 47 | ||||
-rw-r--r-- | dev-python/PyGithub/PyGithub-1.43.8.ebuild | 2 |
4 files changed, 77 insertions, 2 deletions
diff --git a/dev-python/PyGithub/Manifest b/dev-python/PyGithub/Manifest index e7c69dccac45..df2e40cd87d5 100644 --- a/dev-python/PyGithub/Manifest +++ b/dev-python/PyGithub/Manifest @@ -1,3 +1,7 @@ +DIST PyGithub-1.39.tar.gz 2662602 BLAKE2B 5e3e4ca2483e7ade968f170e7615258b4bcca0f1c6741146c38b3c7405fb1fb66351fa5686863892a6751bc4cb6ea39b6cf4ec0d8e6cc878b302c87512c9d159 SHA512 5fa6e5a1b8e7cbe2be13e7f866ce8586f6ba37bfc8f3bfb5a52497a9edc267c14512e4572f56e898c61b8c84dfc8aa8f325c5eb2563e68450b8a3b2acf8308d4 +DIST PyGithub-1.43.7.gh.tar.gz 2832588 BLAKE2B df1bf783d8644493151b7192325cd2feded48dd95853e0f2ccef9e0560c39877de3e38e95a339291e585612c795d2180900dc5db5fecb0f844a97a6d0a5bf04c SHA512 15d7c7ca6a505a259fe59c96db667a278179df7acfe794116f118bb18966c573cbdcd9276fe50b321fd759988810250a0268c2e8e330c1ef5a8bdcc3a50b6391 DIST PyGithub-1.43.8.gh.tar.gz 2842219 BLAKE2B 7711885beb4cb855ea5a5755abe881f7ae7825feb76cb0ab30aa9ba4a2530440d2816439c43da23a42f134286fa0806875d075920776960f04cdd21131bcf700 SHA512 dc58166ebb27f855ed4f32448029abe7e53b8050d8d99029d460f2dd94180ca8bcef68a75469293abd021f70cc3c67c32061e6439db1b3f1dc77af464c658bb6 -EBUILD PyGithub-1.43.8.ebuild 1201 BLAKE2B e142dace911dac44389a8407628c295465de3c86926be5f0d49df62c4e602a8346a5714afa6b52028d9d024ea57b3d5fcc1c1b3198a33a34558cbc2060b17399 SHA512 c061c186fee870038de0654d7e671c96d6be95d0cd7662b477d434a6ff73f74c47f002f88d3621f149487de59985e449d79bada852e3676c07a77764d9e27ce0 +EBUILD PyGithub-1.39.ebuild 593 BLAKE2B 71cd2cf560adbe76214148f890b031e020148b5a60e5b27fc9d3708ad4a5d6351b08e4a8eb4f470456c9092040bfd46f4e46cb9db5b68dc9b4c6af0ff7d1d5ad SHA512 830e8648301bb259e4238c257b1f25a5acf6c171191556bf97573afd3bbdf65b201e4b3a28f389e643a575f66588e31db94ff96dbf76c9734113c38d98719198 +EBUILD PyGithub-1.43.7.ebuild 1201 BLAKE2B e142dace911dac44389a8407628c295465de3c86926be5f0d49df62c4e602a8346a5714afa6b52028d9d024ea57b3d5fcc1c1b3198a33a34558cbc2060b17399 SHA512 c061c186fee870038de0654d7e671c96d6be95d0cd7662b477d434a6ff73f74c47f002f88d3621f149487de59985e449d79bada852e3676c07a77764d9e27ce0 +EBUILD PyGithub-1.43.8.ebuild 1203 BLAKE2B 62a884f49d8c891180d28b53a08d8c1d119aa73e88040e10318623977f0d82c04b953ac2f5b96dd8c8f48278a834d1fc6f4957ddd831cb08d19de6075c350453 SHA512 c9ca4633a83e0246bbc5d43fd4db216f8c2c4321bbe490a8120f52bf4ad95daf343d5abf7eae8fdd9b7dadc7e7b76db3242474126e341c116a1bd83bdf0106bc MISC metadata.xml 446 BLAKE2B e5a5f28e076db18ae39b757db4c480cc7d77314361c050df12276a8770c117140670067c4d1785d7a21fadd1d3435f7245a85f2bb251c57539315bcd97faadb8 SHA512 e29338330c42ccefee0ebeef682c8877a37c01c10ab9976988f846fb8c6d0a02114d0447a682499ff306810d2c12535a3cb031c9728eea016907382cca8ee1b1 diff --git a/dev-python/PyGithub/PyGithub-1.39.ebuild b/dev-python/PyGithub/PyGithub-1.39.ebuild new file mode 100644 index 000000000000..4fde60b63b8f --- /dev/null +++ b/dev-python/PyGithub/PyGithub-1.39.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE="https://github.com/PyGithub/PyGithub/" +# Use github since pypi is missing test data +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-python/pyjwt[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} diff --git a/dev-python/PyGithub/PyGithub-1.43.7.ebuild b/dev-python/PyGithub/PyGithub-1.43.7.ebuild new file mode 100644 index 000000000000..4c63d604bf8d --- /dev/null +++ b/dev-python/PyGithub/PyGithub-1.43.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE="https://github.com/PyGithub/PyGithub/" +# Use github since pypi is missing test data +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/deprecated[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.0[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # tests requiring network access + sed -i -e 's:testDecodeJson:_&:' tests/Issue142.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # silly! + cp -r tests "${BUILD_DIR}" || die + if python_is_python3; then + 2to3 --no-diffs -n -w "${BUILD_DIR}"/tests || die + fi + + cd "${BUILD_DIR}" || die + "${EPYTHON}" -m unittest -v tests.AllTests || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/PyGithub/PyGithub-1.43.8.ebuild b/dev-python/PyGithub/PyGithub-1.43.8.ebuild index 4c63d604bf8d..5585ba44ef02 100644 --- a/dev-python/PyGithub/PyGithub-1.43.8.ebuild +++ b/dev-python/PyGithub/PyGithub-1.43.8.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" |