Skip to content

Commit 581faae

Browse files
authored
Merge pull request #2931 from rick-gnous/ruamel-base
clean ruamel base ebuild
2 parents 984e995 + 5b71c3d commit 581faae

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

‎dev-python/ruamel-base/metadata.xml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
<email>unknown@pentoo.ch</email>
66
<name>Author Unknown</name>
77
</maintainer>
8+
<upstream>
9+
<remote-id type="sourceforge">ruamel-base</remote-id>
10+
<remote-id type="pypi">ruamel.base</remote-id>
11+
</upstream>
812
</pkgmetadata>

‎dev-python/ruamel-base/ruamel-base-1.0.0.ebuild‎

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
1-
# Copyright 1999-2020 Gentoo Authors
1+
# Copyright 1999-2026 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
55

66
DISTUTILS_USE_PEP517=setuptools
77
PYTHON_COMPAT=( python3_{12..14} )
8-
inherit distutils-r1
8+
MY_PN=${PN/-/.}
9+
PYPI_PN=${MY_PN}
10+
PYPI_NO_NORMALIZE=1
911

10-
MY_PN="ruamel.base"
11-
MY_P="${MY_PN}-${PV}"
12+
inherit distutils-r1 pypi
1213

1314
DESCRIPTION="common routines for ruamel packages"
14-
HOMEPAGE="https://pypi.python.org/pypi/ruamel.base"
15-
SRC_URI="mirror://pypi/r/${MY_PN}/${MY_P}.tar.gz"
15+
HOMEPAGE="https://pypi.org/project/ruamel.base/"
16+
S="${WORKDIR}/${MY_PN}-${PV}"
1617

1718
LICENSE="MIT"
1819
SLOT="0"
1920
KEYWORDS="~amd64"
20-
IUSE="test"
21-
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22-
23-
RDEPEND=""
24-
DEPEND="${RDEPEND}
25-
dev-python/setuptools[${PYTHON_USEDEP}]"
26-
27-
S="${WORKDIR}/${MY_P}"
2821

2922
python_install() {
3023
distutils-r1_python_install --single-version-externally-managed

0 commit comments

Comments
 (0)