commit:     49a19d81e46515b33d1267c776b158dbddad3252
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 18:04:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 18:04:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a19d81

Rename dev-python/{python-cstruct → cstruct}

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

 dev-python/{python-cstruct => cstruct}/Manifest                     | 0
 .../python-cstruct-5.2.ebuild => cstruct/cstruct-5.2.ebuild}        | 6 ++++--
 dev-python/{python-cstruct => cstruct}/metadata.xml                 | 0
 profiles/updates/4Q-2023                                            | 1 +
 4 files changed, 5 insertions(+), 2 deletions(-)

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

diff --git a/dev-python/python-cstruct/python-cstruct-5.2.ebuild 
b/dev-python/cstruct/cstruct-5.2.ebuild
similarity index 76%
rename from dev-python/python-cstruct/python-cstruct-5.2.ebuild
rename to dev-python/cstruct/cstruct-5.2.ebuild
index 7c8cad89373b..c5c488dca699 100644
--- a/dev-python/python-cstruct/python-cstruct-5.2.ebuild
+++ b/dev-python/cstruct/cstruct-5.2.ebuild
@@ -8,15 +8,17 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
+MY_P=python-cstruct-${PV}
 DESCRIPTION="C-style structs for Python"
 HOMEPAGE="
        https://github.com/andreax79/python-cstruct/
        https://pypi.org/project/cstruct/
 "
 SRC_URI="
-       https://github.com/andreax79/${PN}/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
+       https://github.com/andreax79/python-cstruct/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

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

diff --git a/profiles/updates/4Q-2023 b/profiles/updates/4Q-2023
index 763a512fbee3..76bfb43f2c58 100644
--- a/profiles/updates/4Q-2023
+++ b/profiles/updates/4Q-2023
@@ -10,3 +10,4 @@ move media-libs/OpenColorIO media-libs/opencolorio
 move media-libs/OpenShadingLanguage media-libs/osl
 move dev-libs/Imath dev-libs/imath
 move dev-python/cli_helpers dev-python/cli-helpers
+move dev-python/python-cstruct dev-python/cstruct

Reply via email to