mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
python_requests: bump version.
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2014 Kenneth Reitz"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b"
|
||||
CHECKSUM_SHA256="c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f"
|
||||
SOURCE_DIR="requests-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
@@ -4,9 +4,9 @@ HOMEPAGE="http://python-requests.org/
|
||||
http://pypi.python.org/pypi/requests"
|
||||
COPYRIGHT="2014 Kenneth Reitz"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz"
|
||||
CHECKSUM_SHA256="1c1473875d846fe563d70868acf05b1953a4472f4695b7b3566d1d978957b8fc"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f"
|
||||
SOURCE_DIR="requests-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
@@ -16,7 +16,7 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python
|
||||
cmd:python2
|
||||
# actually has its own copy...
|
||||
#ca_root_certificates
|
||||
"
|
||||
@@ -25,19 +25,19 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:python2
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python/bin/python setup.py build
|
||||
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python/bin/python
|
||||
python=$portPackageLinksDir/cmd~python2/bin/python2
|
||||
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
Reference in New Issue
Block a user