mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
sphinx: clean up, drop _python39 package. (#11605)
Also cleanup and drop _python39 from related recipes: - alabaster - sphinx_rtd_theme - sphinx_argparse - sphinxcontrib_applehelp - sphinxcontrib_devhelp - sphinxcontrib_htmlhelp - sphinxcontrib_jquery - sphinxcontrib_jsmath - sphinxcontrib_qthelp - sphinxcontrib_serializinghtml
This commit is contained in:
@@ -4,7 +4,7 @@ and options"
|
||||
HOMEPAGE="https://pypi.org/project/sphinx-argparse/"
|
||||
COPYRIGHT="2013 Alex Rudakov"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/ashb/sphinx-argparse/releases/download/v0.4.0/sphinx_argparse-$portVersion-py3-none-any.whl#noarchive"
|
||||
CHECKSUM_SHA256="73bee01f7276fae2bf621ccfe4d167af7306e7288e3482005405d9f826f9b037"
|
||||
|
||||
@@ -21,11 +21,11 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
@@ -34,7 +34,7 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
haiku
|
||||
cmd:python$pythonVersion
|
||||
\""
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
BUILD_PREREQUIRES+="
|
||||
installer_$pythonPackage
|
||||
cmd:python$pythonVersion
|
||||
"
|
||||
@@ -42,13 +42,14 @@ done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
python=python$pythonVersion
|
||||
$python -m installer -p $prefix $portName-$portVersion-py3-none-any.whl
|
||||
|
||||
packageEntries ${PYTHON_PACKAGES[i]} \
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user