diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-31 13:39:44 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-31 13:39:44 +0000 |
| commit | a693519549583f98ce3b3a9c507c2971cb17091a (patch) | |
| tree | 947ce79f7242446cc89c6781a42c68d90b2bf722 /dev-python | |
| parent | eebf4867348cf409d2577c5ae464ee21239f0cdf (diff) | |
| download | baldeagleos-repo-a693519549583f98ce3b3a9c507c2971cb17091a.tar.gz baldeagleos-repo-a693519549583f98ce3b3a9c507c2971cb17091a.tar.xz baldeagleos-repo-a693519549583f98ce3b3a9c507c2971cb17091a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/alembic/alembic-1.7.1.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.17.4.ebuild | 62 | ||||
| -rw-r--r-- | dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch | 30 | ||||
| -rw-r--r-- | dev-python/pastedeploy/metadata.xml | 1 | ||||
| -rw-r--r-- | dev-python/pastedeploy/pastedeploy-2.1.1-r1.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/platformdirs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-2.3.0.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/pyspf/pyspf-2.0.14-r2.ebuild (renamed from dev-python/pyspf/pyspf-2.0.14-r1.ebuild) | 5 | ||||
| -rw-r--r-- | dev-python/utidylib/utidylib-0.7-r2.ebuild (renamed from dev-python/utidylib/utidylib-0.7-r1.ebuild) | 3 |
11 files changed, 203 insertions, 5 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 0ad7c5dc59c0..06e780569e88 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1,3 @@ DIST alembic-1.6.5.tar.gz 1174376 BLAKE2B a1bfdf611b30831363bd29a63f2a50d7c31e348ab6f450f709d1e8dbd891441263d8e0067de38c09351c26c26d07178e3079b30b5c976dfa90cd24d5973038d8 SHA512 8e5ce4bb41a47fb2c263d3542d7fd2dad04bd76b81a6a565fa93cef80a38a016944924b9eb57895ae71d7f8eef428bf440388444ef750bf281616e514a61c79b DIST alembic-1.7.0.tar.gz 1223858 BLAKE2B 1e0528030b153eddb2d5105d309cb611934939606cc91721e560a3fd74af76bff69ba00b0179a6d580a914634bf75f257aab094ed920298b43bbf98beec10ba6 SHA512 a2d2a6c0a6cab17bab4e66a7f8c2eff6481c0ababb836fae14d702301b1a186bf5eee84a95fcfa8501a1efaa262d61293e1dbba13b40270535068bff0449f4b5 +DIST alembic-1.7.1.tar.gz 1225157 BLAKE2B f107c1d787bf9025dc7c092a650449cb911e327fb501f6e4717285f627c455ad43765ca229522a605ac8345f754bbd6808485d77b99576b691ac04185263db51 SHA512 222a643363f89077b7d30068e0abeb8d8dc373778dd6e4364b559d8a63428f0fe3617505207f431c30a1bd43745dd95fd679dfb1401222f20068327805c2309c diff --git a/dev-python/alembic/alembic-1.7.1.ebuild b/dev-python/alembic/alembic-1.7.1.ebuild new file mode 100644 index 000000000000..a0b08d15370f --- /dev/null +++ b/dev-python/alembic/alembic-1.7.1.ebuild @@ -0,0 +1,37 @@ +# 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} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE="https://github.com/sqlalchemy/alembic" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3) + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' pypy3 python3_8) +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index b4754dff8ee9..f0d44fa36ca0 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -7,3 +7,4 @@ DIST hypothesis-python-6.16.0.tar.gz 9140064 BLAKE2B 74d2963f71b357c1fcf5410271e DIST hypothesis-python-6.17.0.tar.gz 9142908 BLAKE2B e366f5355e13471c211e91a54fc70e46e3c575d06352968ce4ec3f5cbae0c5442d07c5fefb0907664f262f3ddd1fc50f202d4e93deedea380221e9cba796f0b5 SHA512 320dddaa88a697e6b2fdd942fc08bce0cb1c49f4eeb0de39a7d404d98971d60b0edb332d9d2dd5f3a63b37301d458e361ebd995ccca6554e784e772a7cb3ed6f DIST hypothesis-python-6.17.1.tar.gz 9143619 BLAKE2B c878313e062c37c8040efe7e659d39699690e066accd67fac1ae92abaff413eadf1a37e1c07ad7effc609ed5d0766274ef74272733088b5897fbad7eb25151a1 SHA512 6418f850b6642337d11bee7d78f82d061af1dd3a2e59dcda1e87ef88f99bda23ccbd6e6cb6cce00275380ddf125c77102bf88ae6a3884d754ef9f7cf9b68e4f5 DIST hypothesis-python-6.17.3.tar.gz 9143941 BLAKE2B a23fd20fb46cb76f6ce57dccbfef182ddd57155e7cec0042ca593ce6176b9699901a5d7fc5092b321270420ac8ec729a7992b55674769216e9b81c53e3144db0 SHA512 c35dce24d3cb6de78e6f2699a67de3db165ecf5a26fa817f45c7b3af057b73a60a47299bbb66bacddb47eefdc0fc36457acab643bf7b256b79fa9387cab79427 +DIST hypothesis-python-6.17.4.tar.gz 9144209 BLAKE2B b110e355b34f386c51e9edeb2589bf11e5d0b574ee7e97437f9eba9ec7d8e823e68ad1e4f5911a1e78f3d5a316f59056301b0238c4b6a8cdcb21e46ea434686c SHA512 95eeadc1655d249008897035660af54f66e8ea78fea78d1069dbddb979505e003d1bdb971371769e90af4a7bc5f96ee0c42a6c14bc42e56677d4f89f39985d41 diff --git a/dev-python/hypothesis/hypothesis-6.17.4.ebuild b/dev-python/hypothesis/hypothesis-6.17.4.ebuild new file mode 100644 index 000000000000..8b48444a4699 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.17.4.ebuild @@ -0,0 +1,62 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{7..9}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +python_prepare() { + if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing + epytest tests/cover tests/pytest tests/quality \ + -p no:pytest-describe \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch b/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch new file mode 100644 index 000000000000..d204fc135c62 --- /dev/null +++ b/dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch @@ -0,0 +1,30 @@ +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -13,7 +13,6 @@ + + import datetime + import pkg_resources +-import pylons_sphinx_themes + + # If your extensions are in another directory, add it here. + #sys.path.append('some/directory') +@@ -83,8 +82,7 @@ pygments_style = 'sphinx' + # Options for HTML output + # ----------------------- + +-html_theme = 'pylons' +-html_theme_path = pylons_sphinx_themes.get_html_themes_path() ++html_theme = 'sphinx_rtd_theme' + html_theme_options = dict( + canonical_url='https://docs.pylonsproject.org/projects/pastedeploy/en/latest/' + ) +--- a/setup.py ++++ b/setup.py +@@ -8,7 +8,6 @@ readme = open(readme_path).read() + + docs_extras = [ + "Sphinx >= 1.7.5", # Read The Docs minimum version +- "pylons-sphinx-themes", + ] + + setup( diff --git a/dev-python/pastedeploy/metadata.xml b/dev-python/pastedeploy/metadata.xml index 60f25d1096a3..ad2a17cf375c 100644 --- a/dev-python/pastedeploy/metadata.xml +++ b/dev-python/pastedeploy/metadata.xml @@ -13,6 +13,7 @@ to be exposed to the implementation details of your application.</longdescription> <upstream> <remote-id type="pypi">PasteDeploy</remote-id> + <doc>https://docs.pylonsproject.org/projects/pastedeploy/en/latest/</doc> </upstream> <origin>gentoo-staging</origin> <stabilize-allarches/> diff --git a/dev-python/pastedeploy/pastedeploy-2.1.1-r1.ebuild b/dev-python/pastedeploy/pastedeploy-2.1.1-r1.ebuild new file mode 100644 index 000000000000..350f456e743e --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-2.1.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN="PasteDeploy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Load, configure, and compose WSGI applications and servers" +HOMEPAGE="https://pypi.org/project/PasteDeploy/" +# pypi tarball does not include tests +SRC_URI="https://github.com/Pylons/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" + +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-change-sphinx-theme.patch" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 9f95f506c445..0e76e925ac67 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1,3 @@ DIST platformdirs-2.0.2.gh.tar.gz 11365 BLAKE2B 53257c69f26dde3a0031c991cd6b5c72b361084342617f5c0590007a11a1d7d6e3c925dd6a8d73d3553cf1cc1d2b9fdf74fd0553d6b8891ef6b21d64bc0e256f SHA512 7cdfbcb4e37f2b4b551f3d685a40780518f9ba9c333cef0664965abaca320a10f6e944f967c0b0ba2d00e80df04b0e1e03426e6d1291e28d8f64128f50ebc1fc DIST platformdirs-2.2.0.gh.tar.gz 17674 BLAKE2B 1b8e31033194f5682fb8c06be8268cc1ce6172b2bc9f0bfa0d376ab4387547c03c18d46e7c387eb2c36e5db42c09398c95d75cb32e4c5a59f0c7517e867aa1c1 SHA512 fbf4a6929543f5777576a258592e8065195e4d86d728f5c9b4065d1639d53b1c3c5de23c9d58282c291a7f600107af2de097ca2328f632927b9b773140590510 +DIST platformdirs-2.3.0.gh.tar.gz 18338 BLAKE2B c7d2b1b7ea65794507153b5c8d4d2e5a0668e4f9ef78024ab08c724e5cc5e91d0b6d7ec115a1ddab8a6fd7d34b4cb84cf3ebec64079d866344d2a7d18ca617e6 SHA512 3d20476d5064b6e300cddb5dcc9ba15346b1a8c3f5bfad869edda05cdd123a00a0c6c18b15af49a74f55fded5e11d69112b77239fe6f8f7da97c9a43ff442d8a diff --git a/dev-python/platformdirs/platformdirs-2.3.0.ebuild b/dev-python/platformdirs/platformdirs-2.3.0.ebuild new file mode 100644 index 000000000000..498ea0dd9fdf --- /dev/null +++ b/dev-python/platformdirs/platformdirs-2.3.0.ebuild @@ -0,0 +1,30 @@ +# 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} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/" +SRC_URI=" + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pyspf/pyspf-2.0.14-r1.ebuild b/dev-python/pyspf/pyspf-2.0.14-r2.ebuild index 5f23722fa47b..fd8d660c76c4 100644 --- a/dev-python/pyspf/pyspf-2.0.14-r1.ebuild +++ b/dev-python/pyspf/pyspf-2.0.14-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="ipv6?" +PYTHON_REQ_USE="ipv6(+)" DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 @@ -16,8 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="PSF-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="ipv6 test" -REQUIRED_USE="test? ( ipv6 )" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" diff --git a/dev-python/utidylib/utidylib-0.7-r1.ebuild b/dev-python/utidylib/utidylib-0.7-r2.ebuild index 734522c20f9d..2c2ae96c0840 100644 --- a/dev-python/utidylib/utidylib-0.7-r1.ebuild +++ b/dev-python/utidylib/utidylib-0.7-r2.ebuild @@ -17,10 +17,9 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" RDEPEND="|| ( app-text/tidy-html5 >=app-text/htmltidy-5.0.0 )" -DEPEND="dev-python/six[${PYTHON_USEDEP}]" distutils_enable_tests pytest -distutils_enable_sphinx doc +distutils_enable_sphinx docs EPYTEST_DESELECT=( # https://github.com/nijel/utidylib/issues/9 |
