macaroni-os / mark-issues

Macaroni Automated Repositories Kit Issues
4 stars 1 forks source link

[python-modules-kit] dev-python/pyjwt needs pypi name fix #87

Closed geaaru closed 6 days ago

geaaru commented 3 weeks ago
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/pyjwt-2.9.0::python-modules-kit  PYTHON_TARGETS="python3_9 -python2_7 -python3_10 -python3_7 -python3_8" 77 KiB

Total: 1 package (1 new), Size of downloads: 77 KiB

!!! The following installed packages are masked:
- app-arch/rar-5.7.1_p20190427::core-kit (masked by: RAR license(s))
A copy of the 'RAR' license is located at '/var/git/meta-repo/kits/core-kit/licenses/RAR'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/pyjwt-2.9.0::python-modules-kit
>>> Failed to emerge dev-python/pyjwt-2.9.0, Log file:
>>>  '/var/tmp/portage/dev-python/pyjwt-2.9.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.97, 0.77, 0.97
 * Package:    dev-python/pyjwt-2.9.0
 * Repository: python-modules-kit
 * USE:        amd64 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU
 * FEATURES:   preserve-libs userpriv
>>> Unpacking source...
>>> Unpacking pyjwt-2.9.0.tar.gz to /var/tmp/portage/dev-python/pyjwt-2.9.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyjwt-2.9.0/work
 * ERROR: dev-python/pyjwt-2.9.0::python-modules-kit failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-python/pyjwt-2.9.0/work/PyJWT-2.9.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  731:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1050:  Called __dyn_prepare
 *   phase-functions.sh, line  384:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pyjwt-2.9.0::python-modules-kit'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyjwt-2.9.0::python-modules-kit'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyjwt-2.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyjwt-2.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyjwt-2.9.0/homedir'
 * S: '/var/tmp/portage/dev-python/pyjwt-2.9.0/work/PyJWT-2.9.0'

 * Messages for package dev-python/pyjwt-2.9.0:

 * ERROR: dev-python/pyjwt-2.9.0::python-modules-kit failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-python/pyjwt-2.9.0/work/PyJWT-2.9.0' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  731:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1050:  Called __dyn_prepare
 *   phase-functions.sh, line  384:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pyjwt-2.9.0::python-modules-kit'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyjwt-2.9.0::python-modules-kit'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyjwt-2.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyjwt-2.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyjwt-2.9.0/homedir'
 * S: '/var/tmp/portage/dev-python/pyjwt-2.9.0/work/PyJWT-2.9.0'

Here the name:

 # ls /var/tmp/portage/dev-python/pyjwt-2.9.0/work/           
pyjwt-2.9.0
geaaru commented 3 weeks ago

Workaround until the fix will be available:

sed -i -e 's|^S=.*|S="${WORKDIR}/pyjwt-2.9.0"|g' /var/git/meta-repo/kits/python-modules-kit/dev-python/pyjwt/pyjwt-2.9.0.ebuild