diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-07-15 23:10:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-07-15 23:10:03 +0000 |
| commit | 30c12c1b078765bae64e94e3114094f85f31ec53 (patch) | |
| tree | ecfe2b4adac5762a3a79fb7aa91c231edd465e5a /dev-python | |
| parent | 17f39c4b59e39e77124c8d142e5dd8d5d3f3ece7 (diff) | |
| download | baldeagleos-repo-30c12c1b078765bae64e94e3114094f85f31ec53.tar.gz baldeagleos-repo-30c12c1b078765bae64e94e3114094f85f31ec53.tar.xz baldeagleos-repo-30c12c1b078765bae64e94e3114094f85f31ec53.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
28 files changed, 323 insertions, 140 deletions
diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 7b0c44d435ca..53a8e48bf651 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1 +1,2 @@ DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e +DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed diff --git a/dev-python/agate/agate-1.6.3.ebuild b/dev-python/agate/agate-1.6.3.ebuild new file mode 100644 index 000000000000..68387edc22a9 --- /dev/null +++ b/dev-python/agate/agate-1.6.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+xml" + +# Other packages have BDEPEND="test? ( dev-python/agate[xml] )" +LEATHER_VERSION_DEP=">=dev-python/leather-0.3.3-r2" +TEST_AGAINST_RDEPEND="xml? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + ${LEATHER_VERSION_DEP}[${PYTHON_USEDEP}] + + ${TEST_AGAINST_RDEPEND} +" +BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # require specific locales + tests/test_data_types.py::TestDate::test_cast_format_locale + tests/test_data_types.py::TestDateTime::test_cast_format_locale + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/bitstring/metadata.xml b/dev-python/bitstring/metadata.xml index c462dc8a82ff..bba9a286387e 100644 --- a/dev-python/bitstring/metadata.xml +++ b/dev-python/bitstring/metadata.xml @@ -15,7 +15,6 @@ as simple and natural as possible </longdescription> <upstream> - <remote-id type="github">scott-griffiths/bitstring</remote-id> <remote-id type="pypi">bitstring</remote-id> </upstream> diff --git a/dev-python/boto/metadata.xml b/dev-python/boto/metadata.xml index 86eeb481d859..f6b0c5e59d14 100644 --- a/dev-python/boto/metadata.xml +++ b/dev-python/boto/metadata.xml @@ -6,7 +6,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">boto</remote-id> <remote-id type="github">boto/boto</remote-id> </upstream> diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index 7e77cd41b1f6..fd8f839f119b 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,3 +1,4 @@ DIST cython-0.29.21.gh.tar.gz 2088511 BLAKE2B 7a4ddabb65a519d3c71454ac8417438a3a9c46b47489c18e7c7e82ffcb5d5f2f0c5246d0b364f8317d374c53f0c83844c73c7d2ef6b9f75f10707aaf2931ce41 SHA512 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 DIST cython-0.29.22.gh.tar.gz 2091955 BLAKE2B 8225fa6073d43de1e44e8cd22d52f9bde5d3b6e6e766c74d5ef18d77b57c0e1b22a21cae5b133b0b22f7207aa51dc0e76f1073db977190d42c2b55cc2d7e148e SHA512 b7f22112678f159bf1d0ad5fe4f7c103e96f240bab4d9dc07edd7c2f66a9887b9af72b32f1d5886361b48d428bc2b9499d3c5b59ce5af1068f20a26549783dd6 DIST cython-0.29.23.gh.tar.gz 2093463 BLAKE2B c710b9bc9e05e0030dff3098857b349564fd167f7d9c47e2ef4e8897e072f67497b8ed3994f45135c21f8b2bf3a2cff016fec9a808b2bbe9712174dd0a6b1a3e SHA512 093b7a1d5c68f6e2d2b9b8adb9ac99e8967ddd0a66c0513a78e88bd55d96533dd8352b2478554fb53bf32a72d730967fb08ccb2eaa462da68f86891dceb4925a +DIST cython-0.29.24.gh.tar.gz 2097245 BLAKE2B 9f5f2da0aed61d7fda2e14ea0669a2dd187cd053f3b82621342c7be29e26ff581b673a32e43bacd5c0df3e515f250eb23a64b1dae8911132fdca48175910a3dc SHA512 387a827f3cb7428248019744e3ed606a133d98ac882b83624d24ae0fdf8a8f2334978555d7d84e5cc4adaf715c541fef64e45bcbdda85ca33473c21f99360be8 diff --git a/dev-python/cython/cython-0.29.24.ebuild b/dev-python/cython/cython-0.29.24.ebuild new file mode 100644 index 000000000000..b48f7cde6b16 --- /dev/null +++ b/dev-python/cython/cython-0.29.24.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs elisp-common + +DESCRIPTION="A Python to C compiler" +HOMEPAGE="https://cython.org https://pypi.org/project/Cython/ + https://github.com/cython/cython" +SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="emacs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" +BDEPEND="${RDEPEND} + test? ( + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \ + 'python3*') + )" + +PATCHES=( + "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" + "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" +) + +SITEFILE=50cython-gentoo.el + +distutils_enable_sphinx docs + +python_compile() { + # Python gets confused when it is in sys.path before build. + local -x PYTHONPATH= + + distutils-r1_python_compile +} + +python_compile_all() { + use emacs && elisp-compile Tools/cython-mode.el +} + +python_test() { + tc-export CC + # https://github.com/cython/cython/issues/1911 + local -x CFLAGS="${CFLAGS} -fno-strict-overflow" + "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) + distutils-r1_python_install_all + + if use emacs; then + elisp-install ${PN} Tools/cython-mode.* + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-python/feedparser/metadata.xml b/dev-python/feedparser/metadata.xml index 4d7a3b15a520..ccf7f6df238f 100644 --- a/dev-python/feedparser/metadata.xml +++ b/dev-python/feedparser/metadata.xml @@ -6,7 +6,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="github">kurtmckee/feedparser</remote-id> <remote-id type="pypi">feedparser</remote-id> </upstream> diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 418da215814f..bf45961f3c5e 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1,3 @@ DIST filesystem_spec-2021.05.0.tar.gz 292796 BLAKE2B 5d56d860ced1a72c27d2031b7d257a4bcbd52f6b2fed5275fbcbf7088375fde26652f0a003e919ebd3948d5e9833d802304234282ca858a7a2a19bfa11f66aa8 SHA512 7c27a1ad4e21efdcc0f31f91a9929e4c09db7b9421e7bf8d2f485e961f6887a4a5c083f38f8d7b09005a4cf11f55c93cce4617e3dc6c2b241ed20f7847ad711e DIST filesystem_spec-2021.06.1.tar.gz 297254 BLAKE2B e360c0780df2ace31a2a7e15f7269f23140ddbc6bd6a1f657cfddbab2b1f285d79a0c88f8d63e406d4a53fd3737f77012eb9837479707a778ab043503ade9d18 SHA512 1d59c2c53b1a4a604ff3762eca8484d7ed60fba98548cc77d7ed014ddf1513cef046ceeec41911cdecd414bdbb4e3c669a3a3f65da08dabf5a70cc2985d06b73 +DIST filesystem_spec-2021.07.0.tar.gz 301517 BLAKE2B 84b189e636eaeb4d3724e1afc44795e83b3ac576ab8640b4fee916bb7cf341c5cd6b1b475616225927693d13f204a1750f913f2e6d35b541fb8ff26ee1019400 SHA512 bea483734e6c9773d93ee93b526c8074a28f0671fbee17b39858dc7a75fd71553ca6d8d5c4e2204446bca3e7c23f6d4c8e94b62ff920e546a2b71786d0dcb388 diff --git a/dev-python/fsspec/fsspec-2021.07.0.ebuild b/dev-python/fsspec/fsspec-2021.07.0.ebuild new file mode 100644 index 000000000000..0264e4aa640c --- /dev/null +++ b/dev-python/fsspec/fsspec-2021.07.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} + +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE="https://github.com/intake/filesystem_spec/ + https://pypi.org/project/fsspec/" +SRC_URI=" + https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + # sftp and smb require server started via docker + epytest \ + --deselect fsspec/tests/test_spec.py::test_find \ + --ignore fsspec/implementations/tests/test_dbfs.py \ + --ignore fsspec/implementations/tests/test_sftp.py \ + --ignore fsspec/implementations/tests/test_smb.py +} diff --git a/dev-python/h5py/metadata.xml b/dev-python/h5py/metadata.xml index 36692fcc1a44..c912d4ebf103 100644 --- a/dev-python/h5py/metadata.xml +++ b/dev-python/h5py/metadata.xml @@ -19,7 +19,6 @@ datasets and recursive iteration over entire files. </longdescription> <upstream> - <remote-id type="pypi">h5py</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/lesscpy/Manifest b/dev-python/lesscpy/Manifest index f0f99ea28c28..ac794aebdef1 100644 --- a/dev-python/lesscpy/Manifest +++ b/dev-python/lesscpy/Manifest @@ -1 +1,2 @@ DIST lesscpy-0.14.0.tar.gz 186505 BLAKE2B 6c7f4691c352573d081436d5f31ddacbd6b054810f07feafaf654a5c401d98c3274f86f03f68534f661b79bff3d708eb09bfdc0e3b9e800b7e2091060e64c370 SHA512 333015e3d4169fafedf0c295d12d5f0eadb8bea2576d147f1461e5854638b0501ea3038a945924efd81629b66dcc7ffcd3fabd12933529cb5fd4b962e87fe2c3 +DIST lesscpy-0.15.0.tar.gz 176879 BLAKE2B 942775e090d3fbc8af033163186d43650bf20967689459bedd87dba14063c199fa322a17310fde422e3d45370cc7fee3482ff2a388518c49b2b16fb40f241a69 SHA512 3e225dcd435b9fbf9b21ad7cae86612eee923946b0bafd502221a95df4df739bae8df62f33fe77a90ee8a1c12de05ba556b2d76a95b85c9d68d27ce6ae46a747 diff --git a/dev-python/lesscpy/lesscpy-0.15.0.ebuild b/dev-python/lesscpy/lesscpy-0.15.0.ebuild new file mode 100644 index 000000000000..179ebbecdc18 --- /dev/null +++ b/dev-python/lesscpy/lesscpy-0.15.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A compiler written in Python for the LESS language" +HOMEPAGE="https://pypi.org/project/lesscpy/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest diff --git a/dev-python/markups/markups-3.1.1.ebuild b/dev-python/markups/markups-3.1.1.ebuild index c575dd37dade..2e64f4c7c16b 100644 --- a/dev-python/markups/markups-3.1.1.ebuild +++ b/dev-python/markups/markups-3.1.1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/mecab-python/metadata.xml b/dev-python/mecab-python/metadata.xml index 694b286ee3fa..ad681716b766 100644 --- a/dev-python/mecab-python/metadata.xml +++ b/dev-python/mecab-python/metadata.xml @@ -7,7 +7,6 @@ </maintainer> <upstream> <remote-id type="github">taku910/mecab</remote-id> - <remote-id type="sourceforge">mecab</remote-id> <remote-id type="pypi">mecab-python</remote-id> </upstream> diff --git a/dev-python/mpi4py/metadata.xml b/dev-python/mpi4py/metadata.xml index 596f31e00a6d..fdc8cffea27f 100644 --- a/dev-python/mpi4py/metadata.xml +++ b/dev-python/mpi4py/metadata.xml @@ -17,7 +17,6 @@ arrays, builtin bytes/string/array objects). </longdescription> <upstream> - <remote-id type="bitbucket">mpi4py</remote-id> <remote-id type="pypi">mpi4py</remote-id> </upstream> diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml index 9d067caed6ca..0f32c47bcb3e 100644 --- a/dev-python/nltk/metadata.xml +++ b/dev-python/nltk/metadata.xml @@ -6,7 +6,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">nltk</remote-id> <remote-id type="github">nltk/nltk</remote-id> </upstream> diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index e8f08a52b5b5..230243f28627 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1 +1,2 @@ DIST oslo-config-8.3.3.tar.gz 154910 BLAKE2B d9d3d45d3f9bd191e2be9ef277719d723c35d36006836b2803dfa973283432745d6f11c7d764f2cf4a9ce62098cc0b94ba6aecb364869fd8957ffa309d47bb38 SHA512 6071fbcb4f9e641e6914d676bab3f58cd9e763219bcce0f7de16017a4e1d3a16fcf4296a36c232ac14d8c5c4555f4c433fedc1811e505e62decb0400a9cc2a7c +DIST oslo-config-8.7.1.tar.gz 160536 BLAKE2B 71221141226024b6e7257c74afd082f297980bd45091de1a30c526d52c5514b970983c9389b82bb49283ef2176b7fc408f4b7f3fc29f9d6cdccb513652b7bee2 SHA512 a76995ff12204968fd9a52ca2922a89039858392b21befff827bf02c3466e365251d90e2d02894a50bece32751e9f5f86a651768665f404de2d3a438e53f158d diff --git a/dev-python/oslo-config/oslo-config-8.7.1.ebuild b/dev-python/oslo-config/oslo-config-8.7.1.ebuild new file mode 100644 index 000000000000..454ce41e149c --- /dev/null +++ b/dev-python/oslo-config/oslo-config-8.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +BDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest + +python_test() { + local -x COLUMNS=80 + eunittest -b +} diff --git a/dev-python/pandas-datareader/Manifest b/dev-python/pandas-datareader/Manifest index f6222fe072e0..ac2336900b53 100644 --- a/dev-python/pandas-datareader/Manifest +++ b/dev-python/pandas-datareader/Manifest @@ -1 +1,2 @@ +DIST pandas-datareader-0.10.0.tar.gz 259641 BLAKE2B b8a5c7aaa76b30abd9297c820638731fc5d81b5ee2cd1a016c1d8d10dc237708b913a4ec505b9a703b02f470413725f58fa4cbf54ba70113bfae5d0ffb0875b9 SHA512 b078122c6c0a614aa5b55151446b830dba64382b0570761ac80baaf362ef8121fac2c4b53b8cacc367bf985ef1ecc16d44041f1d1f4b13fc1024fe6ab74f1d0b DIST pandas-datareader-0.9.0.tar.gz 261026 BLAKE2B dc8211ceb718124095896dce9de0d752f2c5c7bce022dd5197a6b3851ad8727e298b34d0657f76c9c40ca31b1cf76d8a467af251aa9131f921990e6f4f9ec25c SHA512 5ef2e06b6d02e2bc213387f8649e02c9ebd6df679da8ce433d4e8dd2c66e8cbc214a9cf9a4bc83ac2c7ad917cf72a9e6b09c9398623718736114efdc2c3e2815 diff --git a/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild b/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild new file mode 100644 index 000000000000..78b6f7e9c338 --- /dev/null +++ b/dev-python/pandas-datareader/pandas-datareader-0.10.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Pandas DataFrame extraction from a wide range of Internet sources" +HOMEPAGE="https://github.com/pydata/pandas-datareader" +SRC_URI="https://github.com/pydata/pandas-datareader/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/pandas-0.19.2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + doc? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + )" +BDEPEND=" + test? ( dev-python/wrapt[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_test() { + local deselect=( + # looks like minor numpy incompatibility + pandas_datareader/tests/yahoo/test_yahoo.py::TestYahoo::test_get_data_null_as_missing_data + ) + epytest pandas_datareader --only-stable --skip-requires-api-key \ + ${deselect[@]/#/--deselect } +} diff --git a/dev-python/prettytable/metadata.xml b/dev-python/prettytable/metadata.xml index fd27a0434822..fd4872f3c661 100644 --- a/dev-python/prettytable/metadata.xml +++ b/dev-python/prettytable/metadata.xml @@ -10,7 +10,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">prettytable</remote-id> <remote-id type="github">jazzband/prettytable</remote-id> </upstream> diff --git a/dev-python/pypcap/metadata.xml b/dev-python/pypcap/metadata.xml index 2cb2cce35e9b..279023c37826 100644 --- a/dev-python/pypcap/metadata.xml +++ b/dev-python/pypcap/metadata.xml @@ -10,7 +10,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">pypcap</remote-id> <remote-id type="github">pynetwork/pypcap</remote-id> </upstream> diff --git a/dev-python/pyproj/metadata.xml b/dev-python/pyproj/metadata.xml index 60b6a2f59424..a913c341c50d 100644 --- a/dev-python/pyproj/metadata.xml +++ b/dev-python/pyproj/metadata.xml @@ -6,7 +6,6 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">pyproj</remote-id> <remote-id type="github">pyproj4/pyproj</remote-id> </upstream> diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 320bdfe54a22..cf727b491614 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1 +1,2 @@ DIST testfixtures-6.17.1.tar.gz 121440 BLAKE2B 6fcdf4f99af7941044f5f3cdc3e1204b5730d514a009e95f14451537f62af6c6ebaa97356b7ca0dae6313bd81b2a83d981567346e20c477c2d17c6bca73ecdcf SHA512 fbf7c8cd39b83516a257c5a3bce724a8416af88cf1bac8d69457b2030873185c685feb12aea065df2af729a9b733b3e0afe76207bd78e9b5a0c2d464b727d99e +DIST testfixtures-6.18.0.tar.gz 121584 BLAKE2B abf90012fe79d148c44d72a8aaa5277c95a33933c7b753eecdcaeb11279b4439ad9ea394270e440d9681c22789a17738d367b66adf3d04cf6e6289713c1ead59 SHA512 e6552e6b1837ae4ee4754ce3675bdbf2a68d8e46b892382bd8320290050f2c296348ef6310ce3ff46962bf1978c351fe2cdb853a73c9f800f68818f81d5caec9 diff --git a/dev-python/testfixtures/testfixtures-6.18.0.ebuild b/dev-python/testfixtures/testfixtures-6.18.0.ebuild new file mode 100644 index 000000000000..489fde628134 --- /dev/null +++ b/dev-python/testfixtures/testfixtures-6.18.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" +HOMEPAGE="https://pypi.org/project/testfixtures/ https://github.com/Simplistix/testfixtures" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/django[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/sybil[${PYTHON_USEDEP}] + >=dev-python/twisted-18[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # kill weird way of declaring build deps + sed -e '/build=/d' -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTHONPATH="." + local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings + epytest +} diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 5e3859c6a5d4..db0a91444981 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,3 +1,2 @@ -DIST urllib3-1.26.4.tar.gz 293008 BLAKE2B 6ca88861baa87814d3856cd0f1fa0a6cb9e11ee745c782b598c4f5fe74b195ba47e8430b993ed8a5fb269153d700e4a803cd2ebc177e20e3186b3b26612262c7 SHA512 daf2ba432f2e4edaa6aa8c6bdaaea21fcb77cc5fdfd991f89b1f753b4f9901faab04120841e9fa8d93e2bd3d72cbdb647f1492d882266b4e0281c725e8d55a7a DIST urllib3-1.26.5.tar.gz 292865 BLAKE2B 0b22a485635f70f198c022c13d03af2b1a9b6907276e3bc3acaa2242e1c632447762f86e9588e735462e6479ff93a172f458691ea9bf28ceaebd5e1cfbc55501 SHA512 4a1899b223b00894d49f6dff5fc95d410e5b0ab28c11f7e3cd82d03e50438b0c5b0adf693a33fd80f1586312dc0012836713998674da15531bf82d52645881f6 DIST urllib3-1.26.6.tar.gz 289927 BLAKE2B 197b0df759b27fc4906c565426e9c7b533fad56f10695ab5ae6c6c4d05d5c889dba906be526d8b8f41405f29696046b7db6e2cbb2fa16843af80e072138cc35f SHA512 19eb4b88b7a575db717db420ff79b304769d9a6d2b576a236d69719101c4d52d6b0079bd049c885e630f0dfd60471f8bb33836847e0569652cddece910ec2979 diff --git a/dev-python/urllib3/files/urllib3-1.26.4-test-ssltransport.patch b/dev-python/urllib3/files/urllib3-1.26.4-test-ssltransport.patch deleted file mode 100644 index 346574fec91f..000000000000 --- a/dev-python/urllib3/files/urllib3-1.26.4-test-ssltransport.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/test/test_ssltransport.py b/test/test_ssltransport.py -index 72b06b006..98682bd43 100644 ---- a/test/test_ssltransport.py -+++ b/test/test_ssltransport.py -@@ -246,6 +246,7 @@ def proxy_handler(listener): - ) - self._read_write_loop(client_sock, upstream_sock) - upstream_sock.close() -+ client_sock.close() - - self._start_server(proxy_handler) - -@@ -274,6 +275,10 @@ def _read_write_loop(self, client_sock, server_sock, chunks=65536): - if write_socket in writable: - try: - b = read_socket.recv(chunks) -+ if len(b) == 0: -+ # One of the sockets has EOFed, we return to close -+ # both. -+ return - write_socket.send(b) - except ssl.SSLEOFError: - # It's possible, depending on shutdown order, that we'll -@@ -322,6 +327,7 @@ def socket_handler(listener): - request = consume_socket(ssock) - validate_request(request) - ssock.send(sample_response()) -+ sock.close() - - cls._start_server(socket_handler) - diff --git a/dev-python/urllib3/urllib3-1.26.4.ebuild b/dev-python/urllib3/urllib3-1.26.4.ebuild deleted file mode 100644 index b641d5580cce..000000000000 --- a/dev-python/urllib3/urllib3-1.26.4.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 - -DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" -HOMEPAGE="https://github.com/urllib3/urllib3" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="brotli test" -RESTRICT="!test? ( test )" - -# dev-python/{pyopenssl,cryptography,idna,certifi} are optional runtime -# dependencies. Do not add them to RDEPEND. They should be unnecessary with -# modern versions of python (>= 3.2). -RDEPEND=" - >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] - <dev-python/PySocks-2.0[${PYTHON_USEDEP}] - brotli? ( dev-python/brotlicffi[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - $(python_gen_cond_dep " - ${RDEPEND} - dev-python/brotlicffi[\${PYTHON_USEDEP}] - dev-python/mock[\${PYTHON_USEDEP}] - dev-python/pytest[\${PYTHON_USEDEP}] - dev-python/pytest-freezegun[\${PYTHON_USEDEP}] - >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] - >=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}] - " python3_{6,7,8,9}) - ) -" - -PATCHES=( - "${FILESDIR}/${P}-test-ssltransport.patch" -) - -python_prepare_all() { - # tests failing if 'localhost.' cannot be resolved - sed -e 's:test_dotted_fqdn:_&:' \ - -i test/with_dummyserver/test_https.py || die - sed -e 's:test_request_host_header_ignores_fqdn_dot:_&:' \ - -i test/with_dummyserver/test_socketlevel.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x CI=1 - # FIXME: get tornado ported - [[ ${EPYTHON} == python3* ]] || continue - # tests skipped for now - [[ ${EPYTHON} == python3.10 ]] && continue - - local deselect=( - # TODO? - test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries - ) - [[ "${EPYTHON}" == python3.10 ]] && deselect+=( - # Fail because they rely on warnings and there are new deprecation warnings in 3.10 - test/with_dummyserver/test_https.py::TestHTTPS::test_verified - test/with_dummyserver/test_https.py::TestHTTPS::test_verified_with_context - test/with_dummyserver/test_https.py::TestHTTPS::test_context_combines_with_ca_certs - test/with_dummyserver/test_https.py::TestHTTPS::test_ca_dir_verified - test/with_dummyserver/test_https.py::TestHTTPS::test_ssl_correct_system_time - test/with_dummyserver/test_https.py::TestHTTPS::test_ssl_wrong_system_time - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_verified - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_verified_with_context - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_context_combines_with_ca_certs - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_ca_dir_verified - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_ssl_correct_system_time - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_ssl_wrong_system_time - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_default_tls_version_deprecations - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_no_tls_version_deprecation_with_ssl_version - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_2::test_no_tls_version_deprecation_with_ssl_context - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_verified - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_verified_with_context - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_context_combines_with_ca_certs - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_ca_dir_verified - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_ssl_correct_system_time - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_ssl_wrong_system_time - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_default_tls_version_deprecations - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_no_tls_version_deprecation_with_ssl_version - test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_3::test_no_tls_version_deprecation_with_ssl_context - ) - - epytest ${deselect[@]/#/--deselect } -} |
