mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Drop python 3.7 (and 2.7) for recipes under dev-python/
Recipes with only 3.7 are left alone. Help with #8025.
This commit is contained in:
@@ -4,7 +4,7 @@ yet powerful language for representing information as graphs."
|
||||
HOMEPAGE="https://github.com/RDFLib/rdflib"
|
||||
COPYRIGHT="2002-2017 RDFLib Team"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.io/packages/source/r/rdflib/rdflib-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="78149dd49d385efec3b3adfbd61c87afaf1281c30d3fcaf1b323b34f603fb155"
|
||||
|
||||
@@ -21,8 +21,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python3 python38 python39)
|
||||
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
|
||||
PYTHON_PACKAGES=(python38 python39)
|
||||
PYTHON_VERSIONS=(3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -39,8 +39,8 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
haiku
|
||||
cmd:python$pythonVersion
|
||||
\""
|
||||
if [ $pythonPackage = python3 ]; then
|
||||
PROVIDES_python3+="
|
||||
if [ $pythonPackage = python39 ]; then
|
||||
PROVIDES_python39+="
|
||||
cmd:csv2rdf
|
||||
cmd:rdf2dot
|
||||
cmd:rdfgraphisomorphism
|
||||
@@ -87,7 +87,7 @@ INSTALL()
|
||||
--root=/ --prefix="$prefix"
|
||||
|
||||
maybeBinDir="$binDir"
|
||||
if [ "$pythonPackage" != python3 ]; then
|
||||
if [ "$pythonPackage" != python39 ]; then
|
||||
rm -rf "$binDir"
|
||||
maybeBinDir=
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user