mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
some version bumps on python modules (#5371)
This commit is contained in:
@@ -5,11 +5,11 @@ The temporary file will then be atomically moved to the target location: On \
|
||||
POSIX, it will use 'rename' if files should be overwritten, otherwise a \
|
||||
combination of 'link' and 'unlink'."
|
||||
HOMEPAGE="https://pypi.python.org/pypi/atomicwrites"
|
||||
COPYRIGHT="2015-2016 Markus Unterwaditzer"
|
||||
COPYRIGHT="2015-2020 Markus Unterwaditzer"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/a/atomicwrites/atomicwrites-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"
|
||||
CHECKSUM_SHA256="ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -24,8 +24,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -1,65 +0,0 @@
|
||||
SUMMARY="A library to access the metadata for a Python package"
|
||||
DESCRIPTION="importlib_metadata is a library which provides an API for \
|
||||
accessing an installed package’s metadata (see PEP 566), such as its entry \
|
||||
points or its top-level name. This functionality intends to replace most \
|
||||
uses of pkg_resources entry point API and metadata API. Along with \
|
||||
importlib.resources in Python 3.7 and newer (backported as \
|
||||
importlib_resources for older versions of Python), this can eliminate \
|
||||
the need to use the older and less efficient pkg_resources package."
|
||||
HOMEPAGE="https://pypi.org/project/jsonschema/
|
||||
https://github.com/Julian/jsonschema"
|
||||
COPYRIGHT="2013 Julian Berman"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/b4/1b/baab42e3cd64c9d5caac25a9d6c054f8324cdc38975a44d600569f1f7158/importlib_metadata-1.6.0.tar.gz"
|
||||
CHECKSUM_SHA256="34513a8a0c4962bc66d35b359558fd8a5e10cd472d37aec5f66858addef32c1e"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python3)
|
||||
PYTHON_VERSIONS=(3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
eval "PROVIDES_${pythonPackage}=\"\
|
||||
${portName}_$pythonPackage = $portVersion\
|
||||
\"; \
|
||||
REQUIRES_$pythonPackage=\"\
|
||||
haiku\n\
|
||||
cmd:python$pythonVersion\
|
||||
\""
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
setuptools_$pythonPackage"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
|
||||
python=python$pythonVersion
|
||||
installLocation=$prefix/lib/$python/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
mkdir -p $installLocation
|
||||
rm -rf build
|
||||
$python setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
@@ -4,11 +4,11 @@ by PyPA tools (or other conforming packages). It does not support:
|
||||
- Packages in the stdlib.
|
||||
- Packages installed without metadata."
|
||||
HOMEPAGE="https://pypi.python.org/pypi/importlib-metadata"
|
||||
COPYRIGHT="2017-2019 Jason R. Coombs, Barry Warsaw"
|
||||
COPYRIGHT="2017-2020 Jason R. Coombs, Barry Warsaw"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/i/importlib-metadata/importlib_metadata-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="aa18d7378b00b40847790e7c27e11673d7fed219354109d0e7b9e5b25dc3ad26"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/56/1f/74c3e29389d34feea2d62ba3de1169efea2566eb22e9546d379756860525/importlib_metadata-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -23,8 +23,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -8,7 +8,7 @@ COPYRIGHT="2012 Erik Rose"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/m/more-itertools/more-itertools-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832"
|
||||
CHECKSUM_SHA256="6f83822ae94818eae2612063a5101a7311e68ae8002005b5e05f03fd74a86a20"
|
||||
SOURCE_DIR="more-itertools-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
@@ -24,8 +24,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -2,11 +2,11 @@ SUMMARY="Core utilities for Python packages"
|
||||
DESCRIPTION="The 'packaging' project includes the following: \
|
||||
version handling, specifiers, markers, requirements, tags, utilities."
|
||||
HOMEPAGE="https://pypi.python.org/pypi/packaging"
|
||||
COPYRIGHT="2019 Donald Stufft and individual contributors"
|
||||
COPYRIGHT="2014-2020 Donald Stufft and individual contributors"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/packaging/packaging-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47"
|
||||
CHECKSUM_SHA256="4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -21,8 +21,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -1,17 +1,16 @@
|
||||
SUMMARY="A Python framework"
|
||||
DESCRIPTION="This is the core framework used by the pytest, tox, and devpi projects."
|
||||
HOMEPAGE="https://github.com/pytest-dev/pluggy"
|
||||
COPYRIGHT="2004-2017 Holger Krekel and others."
|
||||
COPYRIGHT="2004-2020 Holger Krekel and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/pluggy/pluggy-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34"
|
||||
CHECKSUM_SHA256="15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
pluggy=$portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
@@ -20,8 +19,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -5,19 +5,18 @@ DESCRIPTION="The py lib is a Python development support library featuring the fo
|
||||
py.iniconfig: easy parsing of .ini files
|
||||
py.code: dynamic code generation and introspection
|
||||
py.path: uniform local and svn path objects"
|
||||
HOMEPAGE="https://pytest.org"
|
||||
COPYRIGHT="2004-2017 Holger Krekel and others."
|
||||
HOMEPAGE="https://pypi.org/project/py"
|
||||
COPYRIGHT="2004-2020 Holger Krekel and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/py/py-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53"
|
||||
CHECKSUM_SHA256="9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
py = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
@@ -26,8 +25,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
Reference in New Issue
Block a user