commit:     ffa3a3d2bfe07a1d85cf94df8478d26154be7311
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 08:35:56 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 08:54:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa3a3d2

Move dev-python/{text → textX}

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/{textx => textX}/Manifest                             | 0
 dev-python/{textx => textX}/metadata.xml                         | 0
 dev-python/{textx/textx-1.4.ebuild => textX/textX-1.4.ebuild}    | 9 +++------
 .../{textx/textx-3.0.0.ebuild => textX/textX-3.0.0.ebuild}       | 4 +---
 profiles/updates/1Q-2022                                         | 1 +
 5 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/textx/Manifest b/dev-python/textX/Manifest
similarity index 100%
rename from dev-python/textx/Manifest
rename to dev-python/textX/Manifest

diff --git a/dev-python/textx/metadata.xml b/dev-python/textX/metadata.xml
similarity index 100%
rename from dev-python/textx/metadata.xml
rename to dev-python/textX/metadata.xml

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textX/textX-1.4.ebuild
similarity index 76%
rename from dev-python/textx/textx-1.4.ebuild
rename to dev-python/textX/textX-1.4.ebuild
index 4c427c4e236b..29f9dd96c99b 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textX/textX-1.4.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
-MY_PN=textX
-MY_P=${MY_PN}-${PV}
 DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
 HOMEPAGE="https://pypi.org/project/textX/ 
https://github.com/igordejanovic/textX";
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 # pypi tarball omits tests
 RESTRICT="test"
 LICENSE="MIT"
@@ -27,7 +25,6 @@ DEPEND="${RDEPEND}
                dev-python/pytest[${PYTHON_USEDEP}]
        )
 "
-S=${WORKDIR}/${MY_P}
 
 python_test() {
        py.test -v tests/functional || die "tests failed"

diff --git a/dev-python/textx/textx-3.0.0.ebuild 
b/dev-python/textX/textX-3.0.0.ebuild
similarity index 95%
rename from dev-python/textx/textx-3.0.0.ebuild
rename to dev-python/textX/textX-3.0.0.ebuild
index 5d3a9735321c..79768ec8e29e 100644
--- a/dev-python/textx/textx-3.0.0.ebuild
+++ b/dev-python/textX/textX-3.0.0.ebuild
@@ -8,7 +8,6 @@ PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
-MY_P=textX-${PV}
 DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
 HOMEPAGE="
        https://pypi.org/project/textX/
@@ -16,9 +15,8 @@ HOMEPAGE="
 "
 SRC_URI="
        https://github.com/textX/textX/archive/${PV}.tar.gz
-               -> ${MY_P}.gh.tar.gz
+               -> ${P}.gh.tar.gz
 "
-S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/profiles/updates/1Q-2022 b/profiles/updates/1Q-2022
new file mode 100644
index 000000000000..0c7abb5be223
--- /dev/null
+++ b/profiles/updates/1Q-2022
@@ -0,0 +1 @@
+move dev-python/textx dev-python/textX

Reply via email to