mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
twisted, bump version (#7210)
This commit is contained in:
@@ -20,14 +20,14 @@ text processing, and anything else.
|
||||
- twisted.trial: A unit testing framework that integrates well with \
|
||||
Twisted-based code."
|
||||
HOMEPAGE="https://twistedmatrix.com"
|
||||
COPYRIGHT="2001-2020 Twisted project members"
|
||||
COPYRIGHT="2001-2022 Twisted project members"
|
||||
LICENSE="MIT"
|
||||
REVISION="4"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/twisted/twisted/archive/twisted-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="64173c6a561b206bea4193f810ff6f26b549b34e3b581a34eba499669c798427"
|
||||
CHECKSUM_SHA256="3d17049da4b7c66b11359ff29eeea103ef8356f2aec2e4fc3d78c1920fc622a1"
|
||||
SOURCE_DIR="twisted-twisted-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2 ?x86"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -43,8 +43,8 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
PYTHON_PACKAGES=(python3 python38 python39)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9)
|
||||
PYTHON_PACKAGES=(python3 python38 python39 python310)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -54,6 +54,13 @@ eval "PROVIDES_${pythonPackage}=\"\
|
||||
REQUIRES_$pythonPackage=\"\
|
||||
haiku\n\
|
||||
cmd:python$pythonVersion\n\
|
||||
attrs_$pythonPackage\n\
|
||||
automat_$pythonPackage\n\
|
||||
bcrypt_$pythonPackage\n\
|
||||
constantly_$pythonPackage\n\
|
||||
cryptography_$pythonPackage\n\
|
||||
hyperlink_$pythonPackage\n\
|
||||
incremental_$pythonPackage\n\
|
||||
zope_interface_$pythonPackage\n\
|
||||
\""
|
||||
if [ "$targetArchitecture" = "x86_gcc2" ]; then
|
||||
@@ -62,6 +69,7 @@ if [ "$targetArchitecture" = "x86_gcc2" ]; then
|
||||
\""
|
||||
fi
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
incremental_$pythonPackage
|
||||
setuptools_$pythonPackage"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
@@ -109,6 +117,20 @@ PROVIDES_python39="$PROVIDES_python39
|
||||
cmd:twist39
|
||||
cmd:twistd39
|
||||
"
|
||||
PROVIDES_python310="$PROVIDES_python310
|
||||
cmd:cftp310
|
||||
cmd:ckeygen310
|
||||
cmd:conch310
|
||||
cmd:mailmail310
|
||||
cmd:manhole310
|
||||
cmd:pyhtmlizer310
|
||||
cmd:tap2deb310
|
||||
cmd:tap2rpm310
|
||||
cmd:tkconch310
|
||||
cmd:trial310
|
||||
cmd:twist310
|
||||
cmd:twistd310
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
@@ -139,9 +161,18 @@ INSTALL()
|
||||
mv $f ${f}39
|
||||
done
|
||||
fi
|
||||
if [ $pythonPackage = python310 ]; then
|
||||
for f in $prefix/bin/*; do
|
||||
mv $f ${f}310
|
||||
done
|
||||
fi
|
||||
|
||||
install -m 755 -d "$docDir"
|
||||
install -m 644 -t "$docDir" README.rst
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python* \
|
||||
$prefix/bin
|
||||
"$prefix"/lib/$python \
|
||||
"$prefix"/bin \
|
||||
"$docDir"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user