Compare commits

...

4 Commits

Author SHA1 Message Date
Alfred Wingate
dba6158087
dev-python/aspectlib: add 2.0.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-01 04:05:51 +03:00
Alfred Wingate
a1cdaeae81
dev-python/sphinx-py3doc-enhanced-theme: add pypi upstream metadata
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-01 03:48:17 +03:00
Alfred Wingate
bd0c28872a
dev-python/sphinx-py3doc-enhanced-theme: PEP517 + python_compat3.12 bump
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-01 03:47:23 +03:00
Alfred Wingate
c23b29ebe1
dev-python/*: deal with normalization mishap once and for all
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-01 03:46:36 +03:00
7 changed files with 64 additions and 4 deletions

View File

@ -3,15 +3,14 @@
EAPI=8 EAPI=8
PYPI_NO_NORMALIZE=y
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} ) PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi inherit distutils-r1 pypi
DESCRIPTION="File Versioning System with hash comparison" DESCRIPTION="File Versioning System with hash comparison"
HOMEPAGE="https://github.com/mirkobrombin/FVS/ HOMEPAGE="https://github.com/mirkobrombin/FVS/
https://pypi.org/project/fvs/" https://pypi.org/project/fvs/"
SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")"
S="${WORKDIR}"/${PN^^}-${PV}
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"

View File

@ -1 +1,2 @@
DIST aspectlib-1.5.2.tar.gz 163704 BLAKE2B a4bc51fc75ec1d3dd659e1de78b80c16145f927ee1af5cb41ab9a049051683da708ce63efaa4ad767066ed4cc463108f8be74ebc4145b868d8a5ed07b2a73652 SHA512 999f7e893aee15d5bd89ae9aa45b82b639aae777ec5e946f7f0ee5aa7c2153d6a05ae0f1e95b7f5cdb4f4d12f188093479d9c50df6c7521003e83289cabb494b DIST aspectlib-1.5.2.tar.gz 163704 BLAKE2B a4bc51fc75ec1d3dd659e1de78b80c16145f927ee1af5cb41ab9a049051683da708ce63efaa4ad767066ed4cc463108f8be74ebc4145b868d8a5ed07b2a73652 SHA512 999f7e893aee15d5bd89ae9aa45b82b639aae777ec5e946f7f0ee5aa7c2153d6a05ae0f1e95b7f5cdb4f4d12f188093479d9c50df6c7521003e83289cabb494b
DIST aspectlib-2.0.0.tar.gz 156591 BLAKE2B b3800164e25e4414fe502fc62efcce163070d743cd1f4ebc6f95a51123895cf0ce72f1df5088a580a345f48b2dd03cf30340b4a7b27c0cf6ecab614e6e79da38 SHA512 3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316

View File

@ -0,0 +1,31 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 pypi
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library."
HOMEPAGE="https://github.com/ionelmc/python-aspectlib"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
DEPEND="
doc? (
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/tornado[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs

View File

@ -7,5 +7,6 @@
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="github">ionelmc/python-aspectlib</remote-id> <remote-id type="github">ionelmc/python-aspectlib</remote-id>
<remote-id type="pypi">aspectlib</remote-id>
</upstream> </upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -7,5 +7,6 @@
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="github">ionelmc/sphinx-py3doc-enhanced-theme</remote-id> <remote-id type="github">ionelmc/sphinx-py3doc-enhanced-theme</remote-id>
<remote-id type="pypi">sphinx-py3doc-enhanced-theme</remote-id>
</upstream> </upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -0,0 +1,26 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=y
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..12} )
inherit distutils-r1 pypi
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}/Allow-missing-env-var.patch"
"${FILESDIR}/Fix-goofy-doctest.patch"
"${FILESDIR}/undo-pypi-modification-to-setupcfg.patch"
"${FILESDIR}/backport-for-setupcfg.patch"
)
DOCS=( "README.rst" )

View File

@ -3,12 +3,13 @@
EAPI=8 EAPI=8
PYPI_NO_NORMALIZE=y
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 pypi inherit distutils-r1 pypi
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/." DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme" HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme"
SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")"
LICENSE="BSD-2" LICENSE="BSD-2"
SLOT="0" SLOT="0"