diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
commit | 3b08f674e3f771b49370edb144dab0958c8cf721 (patch) | |
tree | 3673eb62859b2343bc70589f2f9d670c2eee5cc8 /dev-python/pastedeploy | |
parent | b1c81de4fadbd00897700a7321f03b390d952b2e (diff) |
gentoo resync : 31.08.2021
Diffstat (limited to 'dev-python/pastedeploy')
-rw-r--r-- | dev-python/pastedeploy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pastedeploy/files/pastedeploy-2.1.1-change-sphinx-theme.patch | 30 | ||||
-rw-r--r-- | dev-python/pastedeploy/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pastedeploy/pastedeploy-2.1.1-r1.ebuild | 37 |
4 files changed, 72 insertions, 1 deletions
diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest index 461371cd3f3a..effdb73ac6a8 100644 --- a/dev-python/pastedeploy/Manifest +++ b/dev-python/pastedeploy/Manifest @@ -1,3 +1,5 @@ +AUX pastedeploy-2.1.1-change-sphinx-theme.patch 752 BLAKE2B fc381dfb1ee909471b89413a8e5b8f68876cc66615776664e8eadbaf15833b36c9799139db15fe551c9cd7d50fe305e13d104d4a2dc1176eb7ba576b0cc7cc05 SHA512 479d0e34f2d86254855335874499eb5bff2151a2f08cd04f021976933441005062670487108374ec24084dd8ea7881cb69938c61fd7a28ded53a32bc0e5df972 DIST pastedeploy-2.1.1.tar.gz 32339 BLAKE2B d11affa480e5c9b7be53d0431090e4ec9d66f8862b1aadf6a993a09f9c952380d7698eaa7442614936a8316e2ac50404a096bf64bb3ef31f55cbee35b5982166 SHA512 0109e30cb5ae9bdd7f06a79f6236c90f96c3bcfe507258572b1329796a1821486d9762d954673ccbac76ee63c6a69e64fe5e2cae5402fecf4a5affe88cf46930 +EBUILD pastedeploy-2.1.1-r1.ebuild 976 BLAKE2B c2ac169ef4ad4890bf97d509af3691d489c061042cb3de4b8bda4b7e4c001dba4ad9bc4ea60885e896bb6626d8dd53b9ae304b44a0526cc82e23db39d71d092a SHA512 89895d4e10a40b7e38ae6304325e7e6c238cc32b62af8ea7ceda7703688b7800905bff382220f330f65ec26b0889f08887a90d99c6b59c293d84934552678130 EBUILD pastedeploy-2.1.1.ebuild 997 BLAKE2B 3cc07f90334c56d7696015595bf167e0bdc178081adadcbfa5d7af5950a159a881743cb065eaa101dfde326193894c80dc14cc68b721937198878f9490f18f43 SHA512 16b9567cbf25d4bdc18b97e7d073006c2579bb4c7d48890742414ccb17e11e70bca5d5f3525bdd06f685f865a41037546e58bb649cbfe85b83a10be8e333402b -MISC metadata.xml 830 BLAKE2B 646965e3c4e9247a8299b8e3d441e3a80a899107e14489cb1e7f5c85bef9b4c710536caf7cf6f695e9a87f0412cc47b7099312e7e7772691a275c3c2151215c9 SHA512 dde9cd21ca86242148ab89a2e77c88c4f7ec30c1615831a2cb00b20f0051dd23c40537ce1abea7ebeb39da4a8233275f0d3dc91a8f3947307d7acd571f56dd29 +MISC metadata.xml 964 BLAKE2B 3ad1a1a4645215ddee5cdf3aa62e325ab69b8ef3b6d705974f62b7e9b452e7fe65db52e381f83f106926c9731cf765db63ead7d57493bd062fc9159c0653e5dd SHA512 b59df3c74490a707deaa076d958e95ab78c6cd8c6b3f23bddb9f806617d81a62064ab489a4e809a7b7317190b1a65fe47a7e0ee74e64045fc2289d23f4a28983 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 8c900f601b35..b02ade9d7369 100644 --- a/dev-python/pastedeploy/metadata.xml +++ b/dev-python/pastedeploy/metadata.xml @@ -14,5 +14,7 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">PasteDeploy</remote-id> + <remote-id type="github">Pylons/pastedeploy</remote-id> + <doc>https://docs.pylonsproject.org/projects/pastedeploy/en/latest/</doc> </upstream> </pkgmetadata> 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..fea82c6834dc --- /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_{8..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 +} |