Commit 846c6dc9 authored by Luca Giambonini's avatar Luca Giambonini

python3.6 group rebuild / update - part1

parent e9d28271
......@@ -2,15 +2,15 @@
pkgbase=python-appdirs
pkgname=('python3-appdirs' 'python2-appdirs')
pkgver=1.4.0
pkgrel=2
pkgver=1.4.3
pkgrel=1
pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".'
arch=('any')
url="https://github.com/ActiveState/appdirs"
license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools')
source=("https://pypi.python.org/packages/source/a/appdirs/appdirs-$pkgver.tar.gz")
sha512sums=('a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac')
sha512sums=('964db6c9f830c9b23d78f0230c5f574f214f08faf3fd24f10ccc941d23e38de66186461d754f7effb94aa0553c25df4843c9ff5dcd375c992c322550b3d98cce')
prepare() {
cp -a appdirs-$pkgver{,-py2}
......@@ -38,4 +38,4 @@ package_python2-appdirs() {
cd "$srcdir/appdirs-$pkgver-py2"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
\ No newline at end of file
}
......@@ -3,7 +3,7 @@
pkgbase=python-beaker
pkgname=('python3-beaker' 'python2-beaker')
pkgver=1.8.0
pkgver=1.8.1
pkgrel=1
arch=('x86_64')
license=('custom')
......
pkgbase=python-beautifulsoup4
pkgname=('python2-beautifulsoup4' 'python3-beautifulsoup4')
pkgver=4.4.0
pkgrel=2
pkgver=4.6.0
pkgrel=1
pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping."
arch=('x86_64')
url="http://www.crummy.com/software/BeautifulSoup/index.html"
license=('PSF')
makedepends=('python2-setuptools' 'python3-setuptools')
source=("http://www.crummy.com/software/BeautifulSoup/bs4/download/${pkgver%.*}/${pkgbase#*-}-${pkgver}.tar.gz")
sha512sums=('812abb09099779ecb9c41ce55963ad42973eef00193e28e59dd907715fd6bc2b470b07f80bbe2838b790be252935eb81357a8cfb59808865d2fb62479476eb2f')
sha512sums=('1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578')
build() {
cd "${srcdir}"
......@@ -29,8 +29,6 @@ package_python2-beautifulsoup4() {
cd "${srcdir}/beautifulsoup4-${pkgver}-python2"
python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
rm -rf ${pkgdir}/usr/lib/python2.7/site-packages/bs4/tests
}
package_python3-beautifulsoup4() {
......@@ -39,6 +37,4 @@ package_python3-beautifulsoup4() {
cd "${srcdir}/beautifulsoup4-${pkgver}"
python3 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
rm -rf ${pkgdir}/usr/lib/python3.3/site-packages/bs4/{__pycache__,tests,builder/__pycache__}
}
pkgbase=python-cffi
pkgname=(python3-cffi python2-cffi)
pkgver=1.5.2
_revision=4640c7bfb3166763943b428bc7ae9d3585e45c34
pkgver=1.11.2
pkgrel=1
pkgdesc="Foreign Function Interface for Python calling C code"
arch=('x86_64')
url="http://cffi.readthedocs.org/"
license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-pycparser' 'python2-pycparser' 'mercurial')
checkdepends=('python3-pytest' 'python2-pytest')
checkdepends=('python3-pytest-runner' 'python2-pytest-runner')
source=("hg+https://felixonmars@bitbucket.org/cffi/cffi#revision=$_revision")
sha512sums=('SKIP')
prepare() {
cp -a cffi{,-py2}
mv cffi cffi-$pkgver
cp -a cffi-$pkgver{,-py2}
}
build() {
cd "$srcdir/cffi"
cd "$srcdir"/cffi-$pkgver
python3 setup.py build
cd "$srcdir/cffi-py2"
cd "$srcdir"/cffi-$pkgver-py2
python2 setup.py build
}
#check() {
# ## Fails complaining that it can't import _cffi_backend, and I'm
# ## not sure how to make it work
# cd "$srcdir/cffi"
# python3 setup_base.py build
# PYTHONPATH=build/lib.linux-* py.test c/ testing/
#
# cd "$srcdir/cffi-py2"
# python2 setup_base.py build
# PYTHONPATH=build/lib.linux-* py.test c/ testing/
#}
check() {
cd "$srcdir"/cffi-$pkgver
python3 setup.py test
cd "$srcdir"/cffi-$pkgver-py2
python2 setup.py test
}
package_python3-cffi() {
depends=('python3-pycparser')
cd "$srcdir/cffi"
python3 setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd cffi-$pkgver
python3 setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-cffi() {
depends=('python2-pycparser')
cd "$srcdir/cffi-py2"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd cffi-$pkgver-py2
python2 setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
pkgbase=python-chardet
pkgname=('python2-chardet' 'python3-chardet')
_pkgname=chardet
pkgver=2.3.0
pkgrel=2
pkgver=3.0.4
pkgrel=1
arch=('x86_64')
#url="http://chardet.feedparser.org"
url="https://github.com/chardet/chardet"
license=('LGPL')
makedepends=('python2-setuptools' 'python3-setuptools')
source=(http://pypi.python.org/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha512sums=('d554c9b4564905a2b6c6971aaea2a812174d86b58137c6a2f9d54e2abd2395e6529968b2ce3ca2d97c717d2bd0bd80ab5b98cae9afac1a4add9ea305145030dd')
source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
sha512sums=('61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5')
prepare() {
cp -r chardet-${pkgver} python2-chardet-${pkgver}
......
......@@ -3,7 +3,7 @@
pkgbase=python-cryptography
pkgname=('python3-cryptography' 'python2-cryptography')
pkgver=1.2.3
pkgver=2.1.2
pkgrel=1
pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
arch=('x86_64')
......@@ -12,8 +12,8 @@ url="http://pypi.python.org/pypi/cryptography"
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-six' 'python2-six' 'python3-cffi' 'python2-cffi' 'python3-pyasn1' 'python2-pyasn1' ) # 'python2-ipaddress' 'python2-enum34' 'python3-idna' 'python2-idna'
#checkdepends=('python3-pytest' 'python2-pytest' 'python3-cryptography-vectors' 'python2-cryptography-vectors'
# 'python3-iso8601' 'python2-iso8601' 'python3-pretend' 'python2-pretend' 'python3-pyasn1' 'python2-pyasn1')
source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz")
md5sums=('5474d2b3e8c7555a60852e48d2743f85')
source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
md5sums=('f0565d3e85cea64f0f01382e525a33dd')
prepare() {
cp -a cryptography-${pkgver}{,-python2}
......@@ -41,15 +41,16 @@ build() {
#}
package_python3-cryptography() {
depends=('python3-six' 'python3-cffi')
cd cryptography-${pkgver}
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
depends=('python3-six' 'python3-cffi' 'python3-idna' 'python3-setuptools' 'python3-asn1crypto')
cd cryptography-$pkgver
python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
package_python2-cryptography() {
depends=('python2-six' 'python2-cffi')
cd cryptography-${pkgver}-python2
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress'
'python2-setuptools' 'python2-asn1crypto')
cd cryptography-$pkgver-python2
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
......@@ -2,24 +2,41 @@
pkgbase=python-cssselect
pkgname=('python2-cssselect' 'python3-cssselect')
pkgver=0.9.1
pkgrel=3
pkgver=1.0.1
pkgrel=1
license=('BSD')
arch=('x86_64')
url="http://pypi.python.org/pypi/cssselect"
makedepends=('python2' 'python3')
source=("http://pypi.python.org/packages/source/c/cssselect/cssselect-${pkgver}.tar.gz")
md5sums=('c74f45966277dc7a0f768b9b0f3522ac')
makedepends=('python3-setuptools' 'python2-setuptools' 'git')
checkdepends=('python3-pytest-runner' 'python2-pytest-runner' 'python3-lxml' 'python2-lxml')
source=("git+https://github.com/scrapy/cssselect.git#tag=v$pkgver")
md5sums=('SKIP')
prepare() {
cp -r cssselect-${pkgver} python2-cssselect-${pkgver}
cp -a cssselect{,-py2}
}
build() {
cd "$srcdir"/cssselect
python3 setup.py build
cd "$srcdir"/cssselect-py2
python2 setup.py build
}
#check() {
# cd "$srcdir"/cssselect
# python3 setup.py test
#
# cd "$srcdir"/cssselect-py2
# python2 setup.py test
#}
package_python3-cssselect() {
pkgdesc="A Python3 library that parses CSS3 Selectors and translates them to XPath 1.0"
depends=('python3')
cd cssselect-${pkgver}
cd "$srcdir"/cssselect
python3 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
......@@ -29,11 +46,7 @@ package_python2-cssselect() {
pkgdesc="A Python2 library that parses CSS3 Selectors and translates them to XPath 1.0"
depends=('python2')
cd python2-cssselect-${pkgver}
# Fix python2 shebang
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' cssselect/tests.py
cd "$srcdir"/cssselect-py2
python2 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
......
pkgbase=python-cycler
pkgname=('python3-cycler' 'python2-cycler')
pkgver=0.10.0
pkgrel=1
pkgrel=2
pkgdesc="Composable style cycles"
arch=('any')
license=('BSD')
......
pkgbase=python3-dateutil
pkgbase=python-dateutil
pkgname=('python3-dateutil' 'python2-dateutil')
pkgver=2.5.0
pkgrel=2
pkgver=2.6.1
pkgrel=1
pkgdesc="Provides powerful extensions to the standard datetime module"
arch=('any')
license=('custom')
url="https://github.com/dateutil/dateutil"
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-six' 'python2-six')
source=("$pkgbase-$pkgver.tar.gz"::https://github.com/dateutil/dateutil/archive/$pkgver.tar.gz)
sha1sums=('55adcc447e882d9a4f951667e77fdb2c03b3501e')
sha1sums=('33b66da1a9118550d4ef5350b0cfdb72e1f7774a')
build() {
cd $srcdir
......
pkgbase=python-decorator
pkgname=('python2-decorator' 'python3-decorator')
pkgver=4.0.9
pkgrel=2
pkgver=4.1.2
pkgrel=1
pkgdesc='Python Decorator module'
arch=('any')
url='http://pypi.python.org/pypi/decorator'
license=('BSD')
makedepends=('python2' 'python3' 'python2-setuptools' 'python3-setuptools')
source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz"
'LICENSE.txt')
sha1sums=('a2af61818b01e3f8ca6e4b432886043487fab9be'
source=('https://pypi.python.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz'
'LICENSE.txt')
sha1sums=('ab3cd33cb26480d58a34942b81771a33a3b9b957'
'c4c7f1ac4772ee0fca420a65533520af261ef8b3')
build() {
......
......@@ -4,7 +4,7 @@
pkgbase=python-discid
pkgver=1.1.1
pkgrel=1
pkgrel=2
_pkgname=discid
pkgname=('python3-discid' 'python2-discid')
pkgdesc='Python binding of MusicBrainz libdiscid'
......
......@@ -4,7 +4,7 @@
pkgbase=python-distutils-extra
pkgname=('python3-distutils-extra' 'python2-distutils-extra')
pkgver=2.39
pkgrel=2
pkgrel=3
pkgdesc='Enhancements to the Python build system'
arch=('x86_64')
license=('GPL')
......
......@@ -2,10 +2,10 @@
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
# Contributor: Eli Schwartz <eschwartz93@gmail.com>
pkgbase='python-dukpy'
pkgbase=python-dukpy
pkgname=('python3-dukpy' 'python2-dukpy')
pkgver=0.3
pkgrel=1
pkgrel=2
pkgdesc="Python bindings for the duktape embeddable JavaScript engine"
arch=('x86_64')
url="https://github.com/kovidgoyal/dukpy"
......
pkgbase=python-ecdsa
pkgname=('python3-ecdsa' 'python2-ecdsa')
pkgver=0.13
pkgrel=2
pkgrel=3
pkgdesc="Implementation of ECDSA in Python"
arch=('any')
url="https://github.com/warner/python-ecdsa"
license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools')
options=(!emptydirs)
source=("http://pypi.python.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
source=("https://pypi.python.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
sha256sums=('64cf1ee26d1cde3c73c6d7d107f835fed7c6a2904aef9eac223d57ad800c43fa'
'3eca9845773d2e5b8cc9d8c119d345f00a4806e4bd660d4a3d6cdf9c0e9d8bb2')
......
......@@ -4,20 +4,21 @@
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Tarmo Heiskanen <turskii@gmail.com>
pkgbase=python-flask
pkgname=('python3-flask' 'python2-flask')
pkgver=0.10.1
pkgver=0.12.2
pkgrel=1
pkgdesc='Micro webdevelopment framework for Python'
url='http://flask.pocoo.org/'
arch=('any')
license=('custom:BSD')
makedepends=('python3-setuptools' 'python2-setuptools')
source=("http://pypi.python.org/packages/source/F/Flask/Flask-$pkgver.tar.gz")
sha256sums=('4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373')
source=("https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
sha256sums=('7b1306b690c706b0f4054c23bda57565fc050b5736bfd034609c1f26d35bfa28')
prepare() {
cp -r "Flask-$pkgver" "python3-flask-$pkgver"
cp -r "Flask-$pkgver" "python2-flask-$pkgver"
cp -r "flask-$pkgver" "python3-flask-$pkgver"
cp -r "flask-$pkgver" "python2-flask-$pkgver"
}
build_python3-flask() {
......@@ -45,6 +46,7 @@ package_python3-flask() {
cd "$pkgname-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask3
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
......@@ -53,7 +55,7 @@ package_python2-flask() {
cd "$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask2
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
pkgbase=python-gitlab
pkgname=("python2-gitlab" "python3-gitlab")
pkgver=0.21.2
pkgrel=1
pkgrel=2
pkgdesc=("Python library and CLI tool for the Gitlab API.")
arch=("any")
license=("LGPL")
......
pkgbase=python-gnupg
pkgname=('python2-gnupg' 'python3-gnupg')
pkgver=0.4.0
pkgver=0.4.1
pkgrel=1
pkgdesc="This module allows easy access to GnuPG's key management, encryption and signature functionality from Python programs."
url="https://pypi.python.org/pypi/python-gnupg"
......@@ -9,7 +9,7 @@ arch=("any")
depends=('gnupg')
makedepends=('python2' 'python3')
source=("https://pypi.io/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
md5sums=('6e7828188d6f48592f3131c4c87abdcf')
md5sums=('b5d98344798b3cbb80cdcc1bfd788ea3')
package_python2-gnupg() {
depends+=('python2')
......
......@@ -5,7 +5,7 @@
_pkgname=html5-parser
pkgbase='python-html5-parser'
pkgname=('python3-html5-parser' 'python2-html5-parser')
pkgver=0.4.3
pkgver=0.4.4
pkgrel=1
pkgdesc="Fast C based HTML 5 parsing for python"
arch=('x86_64')
......@@ -14,7 +14,7 @@ license=('Apache')
makedepends=('python3-chardet' 'python3-lxml' 'python3-setuptools' 'python3'
'python2-chardet' 'python2-lxml' 'python2-setuptools' 'python2')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
sha256sums=('dd5e3647c5919439c41600172ef96b5fdbf278028bd4000476f87412c4fb7b9c'
sha256sums=('b9f3a1d4cdb8742e8e4ecafab04bff541bde4ff09af233293ed0b94028ec1ab5'
'SKIP')
validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
......
pkgbase=python-html5lib
pkgname=('python2-html5lib' 'python3-html5lib')
pkgver=0.999999999
pkgrel=2
pkgrel=3
arch=('any')
url="https://github.com/html5lib"
license=('MIT')
......
pkgbase=python-httpbin
pkgname=(python3-httpbin python2-httpbin)
pkgver=0.4.1
pkgver=0.6.2
pkgrel=1
pkgdesc="HTTP Request and Response Service"
arch=('any')
......@@ -10,6 +10,7 @@ license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-flask' 'python2-flask'
'python3-markupsafe' 'python2-markupsafe' 'python3-itsdangerous' 'python2-itsdangerous'
'python3-six' 'python2-six' 'python3-decorator' 'python2-decorator' 'git')
checkdepends=(python3-werkzeug python2-werkzeug)
source=("git+https://github.com/Runscope/httpbin.git#tag=v$pkgver")
sha256sums=('SKIP')
......
pkgbase=python-werkzeug
pkgname=('python3-werkzeug' 'python2-werkzeug')
pkgver=0.11.4
pkgver=0.12.2
pkgrel=1
pkgdesc='Swiss Army knife of Python web development'
url='http://werkzeug.pocoo.org/'
arch=('any')
license=('custom:BSD')
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-pytest' 'python2-pytest' 'python3-requests' 'python2-requests')
source=("http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-$pkgver.tar.gz")
sha256sums=('e48fb7e3f2bb5a740dd9a666624699a4d83e2e028555f9c46bcc8ecfc2cd8c32')
source=("https://github.com/pallets/werkzeug/archive/${pkgver}.tar.gz")
sha256sums=('58b77f7deab8a4c8508b79fe7c7648f1f952ac2cbf45cf5f67c541e8ac17d73e')
prepare() {
cp -r "Werkzeug-$pkgver" "python3-werkzeug-$pkgver"
cp -r "Werkzeug-$pkgver" "python2-werkzeug-$pkgver"
cp -r "werkzeug-$pkgver" "python3-werkzeug-$pkgver"
cp -r "werkzeug-$pkgver" "python2-werkzeug-$pkgver"
}
build_python3-werkzeug() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment