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