mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
pluggy, fix versioning (#7993)
* pluggy, fix versioning * pluggy, cleanup
This commit is contained in:
@@ -3,7 +3,7 @@ DESCRIPTION="This is the core framework used by the pytest, tox, and devpi proje
|
||||
HOMEPAGE="https://github.com/pytest-dev/pluggy"
|
||||
COPYRIGHT="2004-2020 Holger Krekel and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/pluggy/pluggy-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"
|
||||
|
||||
@@ -20,8 +20,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python3 python38 python39 python310)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -38,12 +38,12 @@ BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion
|
||||
six_$pythonPackage
|
||||
cmd:git
|
||||
"
|
||||
done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
|
||||
Reference in New Issue
Block a user