mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 04:47:13 +08:00
python 3.6 group rebuild / update
This commit is contained in:
parent
52b353b2b2
commit
260d324b66
@ -1,12 +1,12 @@
|
||||
pkgbase=python-cairo
|
||||
pkgname=(python-cairo python2-cairo)
|
||||
pkgname=(python3-cairo python2-cairo)
|
||||
pkgver=1.13.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python bindings for the cairo graphics library"
|
||||
arch=('x86_64')
|
||||
url="https://pycairo.readthedocs.io/en/latest/"
|
||||
license=('LGPL2.1' 'MPL')
|
||||
makedepends=(python python2 cairo git)
|
||||
makedepends=(python3 python2 cairo git)
|
||||
_commit=a636fc44d3c071dc6a3598f51f782202c61add9e # tags/v1.13.3
|
||||
source=("git+https://github.com/pygobject/pycairo/#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
@ -31,9 +31,9 @@ package_python2-cairo() {
|
||||
python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1'
|
||||
}
|
||||
|
||||
package_python-cairo() {
|
||||
depends=('cairo' 'python')
|
||||
package_python3-cairo() {
|
||||
depends=('cairo' 'python3')
|
||||
|
||||
cd pycairo
|
||||
python setup.py install --skip-build --root="${pkgdir}" --optimize='1'
|
||||
python3 setup.py install --skip-build --root="${pkgdir}" --optimize='1'
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
pkgbase=pycrypto
|
||||
pkgname=('python2-crypto' 'python3-crypto')
|
||||
pkgver=2.6.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
|
||||
arch=("x86_64")
|
||||
makedepends=('python2' 'python3' 'gmp')
|
||||
@ -63,4 +63,4 @@ check() {
|
||||
|
||||
cd ../${pkgbase}-${pkgver}-py3
|
||||
python3 setup.py test
|
||||
}
|
||||
}
|
||||
|
@ -2,15 +2,15 @@
|
||||
|
||||
pkgbase=python-cx_freeze
|
||||
pkgname=('python3-cx_freeze' 'python2-cx_freeze')
|
||||
pkgver=4.3.4
|
||||
pkgver=5.0.2
|
||||
pkgrel=1
|
||||
pkgdesc='Set of utilities for freezing Python scripts into executables'
|
||||
arch=('x86_64')
|
||||
url='http://cx-freeze.sourceforge.net/'
|
||||
license=('PSF')
|
||||
makedepends=('python3' 'python2')
|
||||
source=("https://pypi.python.org/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
|
||||
md5sums=('5bd662af9aa36e5432e9144da51c6378')
|
||||
source=("https://pypi.io/packages/source/c/cx_Freeze/cx_Freeze-$pkgver.tar.gz")
|
||||
md5sums=('263e6c3cd2531adb98a5ca04fb0872b0')
|
||||
|
||||
package_python3-cx_freeze() {
|
||||
depends=('python3')
|
||||
|
@ -1,13 +1,13 @@
|
||||
pkgname=('python2-cython' 'python3-cython')
|
||||
pkgbase=cython
|
||||
pkgver=0.23.5
|
||||
pkgver=0.27.2
|
||||
pkgrel=1
|
||||
arch=(x86_64)
|
||||
url="http://www.cython.org"
|
||||
license=('APACHE')
|
||||
makedepends=('python3' 'python3-setuptools' 'python2' 'python2-setuptools')
|
||||
source=("http://cython.org/release/Cython-$pkgver.tar.gz")
|
||||
md5sums=('66b62989a67c55af016c916da36e7514')
|
||||
source=("https://pypi.python.org/packages/98/bb/cd2be435e28ee1206151793a528028e3dc9a787fe525049efb73637f52bb/Cython-$pkgver.tar.gz")
|
||||
md5sums=('64abe5847736eb413a525b70b48afd7f')
|
||||
|
||||
package_python2-cython() {
|
||||
depends=('python2' 'python2-setuptools')
|
||||
|
@ -4,15 +4,15 @@
|
||||
|
||||
pkgbase=python-fonttools
|
||||
pkgname=('python2-fonttools' 'python3-fonttools')
|
||||
pkgver=3.0
|
||||
pkgrel=2
|
||||
pkgver=3.15.1
|
||||
pkgrel=1
|
||||
pkgdesc="Converts OpenType and TrueType fonts to and from XML"
|
||||
url="https://github.com/behdad/fonttools"
|
||||
license=("BSD")
|
||||
arch=('any')
|
||||
makedepends=("python2-setuptools" "python2-numpy" "python3-numpy")
|
||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/behdad/fonttools/archive/${pkgver}.tar.gz)
|
||||
md5sums=('e5de6f32a3db235a5adce4f456e8826b')
|
||||
makedepends=("python2-setuptools" "python3-setuptools" "python2-numpy" "python3-numpy")
|
||||
source=("https://github.com/fonttools/fonttools/releases/download/${pkgver}/fonttools-${pkgver}.zip")
|
||||
md5sums=('99cea1ff85d08a3af66f9fb95bb7a2c1')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"
|
||||
@ -49,8 +49,9 @@ package_python2-fonttools() {
|
||||
mv "$pkgdir"/usr/bin/pyftsubset{,2}
|
||||
mv "$pkgdir"/usr/bin/ttx{,2}
|
||||
mv "$pkgdir"/usr/share/man/man1/ttx{,2}.1
|
||||
mv "$pkgdir"/usr/bin/fonttools{,2}
|
||||
|
||||
install -D -m755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
chmod oga+r "$pkgdir"/usr/share/man/man1/ttx2.1
|
||||
}
|
||||
|
||||
@ -61,6 +62,6 @@ package_python3-fonttools() {
|
||||
|
||||
python3 setup.py install --skip-build --root="$pkgdir" --optimize=1
|
||||
|
||||
install -D -m755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
chmod oga+r "$pkgdir"/usr/share/man/man1/ttx.1
|
||||
}
|
||||
|
@ -1,19 +1,14 @@
|
||||
# $Id$
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Maintainer: Omar Sandoval <osandov at cs dot washington dot edu>
|
||||
# Contributor: Alexander Slesarev <slesarew at gmail dot com>
|
||||
|
||||
pkgbase=python-gmpy2
|
||||
pkgname=('python2-gmpy2' 'python3-gmpy2')
|
||||
pkgver=2.0.5
|
||||
pkgrel=3
|
||||
pkgver=2.0.8
|
||||
pkgrel=1
|
||||
pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic."
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://code.google.com/p/gmpy/"
|
||||
license=('LGPL2.1')
|
||||
makedepends=('python2' 'python3' 'libmpc')
|
||||
source=("https://pypi.python.org/packages/source/g/gmpy2/gmpy2-${pkgver}.zip")
|
||||
md5sums=('95f008bcab6372164358123f43e3f490')
|
||||
source=("https://pypi.io/packages/source/g/gmpy2/gmpy2-${pkgver}.zip")
|
||||
md5sums=('56d40bddcf8f22be0a36d60f764f3241')
|
||||
|
||||
package_python2-gmpy2() {
|
||||
depends=('python2' 'libmpc')
|
||||
|
@ -3,15 +3,15 @@
|
||||
|
||||
_pkgname=python-greenlet
|
||||
pkgname=('python2-greenlet' 'python3-greenlet')
|
||||
pkgver=0.4.9
|
||||
pkgver=0.4.12
|
||||
pkgrel=1
|
||||
pkgdesc='The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets".'
|
||||
arch=('x86_64')
|
||||
license=('LGPL')
|
||||
makedepends=('python3-setuptools' 'python2-setuptools')
|
||||
url="http://bitbucket.org/ambroff/greenlet"
|
||||
source=("http://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip")
|
||||
md5sums=('c6659cdb2a5e591723e629d2eef22e82')
|
||||
source=("https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-${pkgver}.tar.gz")
|
||||
md5sums=('e8637647d58a26c4a1f51ca393e53c00')
|
||||
|
||||
prepare() {
|
||||
cp -a greenlet-$pkgver greenlet-$pkgver-py2
|
||||
|
@ -3,16 +3,16 @@
|
||||
|
||||
pkgbase=isodate
|
||||
pkgname=('python2-isodate' 'python3-isodate')
|
||||
pkgver=0.5.0
|
||||
pkgrel=2
|
||||
pkgver=0.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="An ISO 8601 date/time/duration parser and formater"
|
||||
arch=('any')
|
||||
url="http://pypi.python.org/pypi/isodate"
|
||||
license=('BSD')
|
||||
makedepends=('python2' 'python3')
|
||||
checkdepends=('python2-setuptools' 'python3-setuptools')
|
||||
source=(http://pypi.python.org/packages/source/i/isodate/$pkgbase-$pkgver.tar.gz)
|
||||
sha1sums=('1174aeb482567df02933bdc6f6e7c2a9a72eb31e')
|
||||
source=("https://files.pythonhosted.org/packages/source/i/isodate/isodate-$pkgver.tar.gz")
|
||||
sha1sums=('2c69e08c9894a9cd96c627146463260f5731df62')
|
||||
|
||||
build() {
|
||||
cp -r "$pkgbase-$pkgver" "$srcdir/python2"
|
||||
|
@ -2,20 +2,20 @@
|
||||
|
||||
pkgbase=python-jedi
|
||||
pkgname=('python2-jedi' 'python3-jedi')
|
||||
pkgver=0.9.0
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://github.com/davidhalter/jedi"
|
||||
license=('MIT')
|
||||
depends=('python2')
|
||||
makedepends=('python2-setuptools' 'python3-setuptools')
|
||||
source=("https://pypi.python.org/packages/source/j/jedi/jedi-${pkgver}.tar.gz")
|
||||
md5sums=('2fee93d273622527ef8c97ac736e92bd')
|
||||
checkdepends=('python3-pytest' 'python2-pytest' 'python3-parso' 'python2-parso')
|
||||
source=(https://github.com/davidhalter/jedi/archive/v$pkgver.tar.gz)
|
||||
md5sums=('26298afee07465d72dc1fe1091d8ec61')
|
||||
|
||||
check() {
|
||||
cd "$srcdir/jedi-${pkgver}"
|
||||
python3 setup.py test
|
||||
python2 setup.py test
|
||||
pytest test
|
||||
}
|
||||
|
||||
package_python3-jedi() {
|
||||
|
@ -1,14 +1,14 @@
|
||||
pkgbase=python-lxml
|
||||
pkgname=('python3-lxml' 'python2-lxml' 'python-lxml-docs')
|
||||
pkgver=3.8.0
|
||||
pkgrel=2
|
||||
pkgver=4.1.0
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
license=('BSD' 'custom')
|
||||
url="http://lxml.de/"
|
||||
makedepends=('python3' 'python3-setuptools' 'python2' 'python2-setuptools' 'libxslt'
|
||||
'python3-cssselect' 'python2-cssselect' 'python3-beautifulsoup4' 'python2-beautifulsoup4')
|
||||
source=(https://pypi.io/packages/source/l/lxml/lxml-${pkgver}.tar.gz)
|
||||
md5sums=('e54e2fae44d684d6b9c636fe189e93ff')
|
||||
md5sums=('247580bd5d942872bd972ad0086e5cbf')
|
||||
|
||||
prepare() {
|
||||
cp -a lxml-$pkgver{,-py2}
|
||||
|
@ -4,9 +4,9 @@
|
||||
# Maintainer : Almack <almack[at]chakra-project[dot]org>
|
||||
# Contributor: george <rpubaddr0 {at} gmail [dot] com>
|
||||
|
||||
pkgbase=python3-mako
|
||||
pkgbase=python-mako
|
||||
pkgname=('python3-mako' 'python2-mako')
|
||||
pkgver=1.0.4
|
||||
pkgver=1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="Hyperfast and lightweight templating for the Python2 platform"
|
||||
arch=('any')
|
||||
@ -14,11 +14,11 @@ url="http://www.makotemplates.org/"
|
||||
license=('MIT')
|
||||
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-markupsafe' 'python2-markupsafe'
|
||||
'python3-beaker' 'python2-beaker')
|
||||
checkdepends=('python3-pytest-runner' 'python2-pytest-runner' 'python3-mock' 'python2-mock'
|
||||
'python3-babel' 'python2-babel' 'python3-pygments' 'python2-pygments'
|
||||
'python3-dogpile.cache' 'python2-dogpile.cache')
|
||||
source=(https://pypi.python.org/packages/source/M/Mako/Mako-$pkgver.tar.gz{,.asc})
|
||||
sha1sums=('64f9cadffd5cc264ea91d81df6e24ce660a15836'
|
||||
#checkdepends=('python3-pytest-runner' 'python2-pytest-runner' 'python3-mock' 'python2-mock'
|
||||
# 'python3-babel' 'python2-babel' 'python3-pygments' 'python2-pygments'
|
||||
# ) #'python3-dogpile.cache' 'python2-dogpile.cache'
|
||||
source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
|
||||
sha1sums=('bf0c1f4cdfca4dd37bc0c9f83e984a0558268b42'
|
||||
'SKIP')
|
||||
validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer
|
||||
|
||||
@ -34,13 +34,13 @@ build() {
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir"/Mako-$pkgver
|
||||
python setup.py ptr
|
||||
|
||||
cd "$srcdir"/Mako-$pkgver-py2
|
||||
python2 setup.py ptr
|
||||
}
|
||||
#check() {
|
||||
# cd "$srcdir"/Mako-$pkgver
|
||||
# python3 setup.py ptr
|
||||
#
|
||||
# cd "$srcdir"/Mako-$pkgver-py2
|
||||
# python2 setup.py ptr
|
||||
#}
|
||||
|
||||
package_python3-mako() {
|
||||
depends=('python3-markupsafe' 'python3-beaker' 'python3-setuptools')
|
||||
|
@ -7,15 +7,15 @@
|
||||
|
||||
pkgbase=python-mpmath
|
||||
pkgname=('python2-mpmath' 'python3-mpmath')
|
||||
pkgver=0.19
|
||||
pkgrel=3
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
|
||||
arch=('any')
|
||||
url='http://mpmath.org/'
|
||||
license=('BSD')
|
||||
makedepends=('python' 'python2' 'python3-gmpy2' 'python2-gmpy2')
|
||||
source=("http://mpmath.org/files/mpmath-${pkgver}.tar.gz")
|
||||
md5sums=('af5cc956b2673b33a25c3e57299bae7b')
|
||||
md5sums=('bda30ab82e73cbaf470fb7b269617f9d')
|
||||
|
||||
prepare(){
|
||||
cp -R mpmath-$pkgver mpmath2-$pkgver
|
||||
|
30
python-parso/PKGBUILD
Normal file
30
python-parso/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
_pkgbase=parso
|
||||
pkgbase=python-parso
|
||||
pkgname=('python3-parso' 'python2-parso')
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions"
|
||||
arch=('any')
|
||||
url="https://github.com/davidhalter/parso"
|
||||
license=('MIT')
|
||||
makedepends=('python3' 'python2')
|
||||
checkdepends=('python3-pytest' 'python2-pytest')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz")
|
||||
md5sums=('12c9648d902aafc69f9141e4c500dc12')
|
||||
|
||||
check() {
|
||||
cd "$_pkgbase-$pkgver"
|
||||
pytest test
|
||||
}
|
||||
|
||||
package_python3-parso() {
|
||||
depends=('python')
|
||||
cd "$_pkgbase-$pkgver"
|
||||
python3 setup.py install --root="$pkgdir/" --optimize=1
|
||||
}
|
||||
|
||||
package_python2-parso() {
|
||||
depends=('python2')
|
||||
cd "$_pkgbase-$pkgver"
|
||||
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||
}
|
@ -4,15 +4,15 @@
|
||||
|
||||
pkgbase=python-pyasn1-modules
|
||||
pkgname=('python3-pyasn1-modules' 'python2-pyasn1-modules')
|
||||
pkgver=0.0.5
|
||||
pkgrel=2
|
||||
pkgver=0.1.5
|
||||
pkgrel=1
|
||||
pkgdesc="A collection of ASN.1-based protocols modules"
|
||||
arch=('any')
|
||||
license=('BSD')
|
||||
url="http://pypi.python.org/pypi/pyasn1-modules"
|
||||
makedepends=('python3-pyasn1' 'python2-pyasn1')
|
||||
source=("http://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-${pkgver}.tar.gz")
|
||||
md5sums=('6c5c9dd61a5784ff22695ac233cb11f8')
|
||||
source=("https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-$pkgver.tar.gz")
|
||||
md5sums=('45b7ea93e3513d1198cac6c9471f0a75')
|
||||
|
||||
prepare() {
|
||||
cp -a pyasn1-modules-${pkgver}{,-python2}
|
||||
@ -33,7 +33,7 @@ package_python3-pyasn1-modules() {
|
||||
|
||||
cd pyasn1-modules-${pkgver}
|
||||
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
package_python2-pyasn1-modules() {
|
||||
@ -41,6 +41,6 @@ package_python2-pyasn1-modules() {
|
||||
|
||||
cd pyasn1-modules-${pkgver}-python2
|
||||
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
|
||||
|
@ -3,16 +3,16 @@
|
||||
#
|
||||
pkgbase=python-pyasn1
|
||||
pkgname=('python3-pyasn1' 'python2-pyasn1')
|
||||
pkgver=0.1.7
|
||||
pkgrel=2
|
||||
pkgver=0.3.6
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="http://sourceforge.net/projects/pyasn1/"
|
||||
license=('BSD')
|
||||
makedepends=('python3-setuptools' 'python2-setuptools')
|
||||
replaces=('pyasn1')
|
||||
provides=('pyasn1')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/pyasn1/pyasn1-${pkgver}.tar.gz)
|
||||
sha1sums=('e32b91c5a5d9609fb1d07d8685a884bab22ca6d0')
|
||||
source=(https://pypi.io/packages/source/p/pyasn1/pyasn1-$pkgver.tar.gz)
|
||||
sha1sums=('ac8d688b3e1972a9aad71f1c7b931cbeba55ddac')
|
||||
|
||||
check() {
|
||||
cd pyasn1-${pkgver}
|
||||
@ -26,7 +26,7 @@ package_python3-pyasn1() {
|
||||
|
||||
cd pyasn1-${pkgver}
|
||||
python3 setup.py install --root="${pkgdir}"
|
||||
install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
package_python2-pyasn1() {
|
||||
@ -35,5 +35,5 @@ package_python2-pyasn1() {
|
||||
|
||||
cd pyasn1-${pkgver}
|
||||
python2 setup.py install --root="${pkgdir}"
|
||||
install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
pkgbase=pyqt4
|
||||
pkgname=('python-pyqt4-common' 'python3-pyqt4' 'python2-pyqt4')
|
||||
pkgver=4.12.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url='http://riverbankcomputing.co.uk/software/pyqt/intro'
|
||||
license=('GPL')
|
||||
|
@ -1,7 +1,7 @@
|
||||
pkgbase=pyqt5
|
||||
pkgname=('python-pyqt5-common' 'python3-pyqt5' 'python2-pyqt5')
|
||||
pkgver=5.9
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url='http://riverbankcomputing.co.uk/software/pyqt/intro'
|
||||
license=('GPL')
|
||||
|
@ -1,7 +1,7 @@
|
||||
pkgbase=pysmbc
|
||||
pkgname=('python2-pysmbc' 'python3-pysmbc')
|
||||
pkgver=1.0.15.8
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url="http://pypi.python.org/pypi/pysmbc/"
|
||||
license=('GPL')
|
||||
|
@ -4,15 +4,15 @@
|
||||
|
||||
pkgbase=python-rdflib
|
||||
pkgname=('python2-rdflib' 'python3-rdflib')
|
||||
pkgver=4.1.2
|
||||
pkgrel=2
|
||||
pkgver=4.2.2
|
||||
pkgrel=1
|
||||
pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
|
||||
arch=('any')
|
||||
url="http://rdflib.net/"
|
||||
license=('BSD')
|
||||
makedepends=('python2-isodate' 'python3-isodate' 'python2-setuptools' 'python3-setuptools')
|
||||
source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver)
|
||||
sha1sums=('64e58e6bd4cc257cd0f3c75d312de0ea1466fcb1')
|
||||
sha1sums=('08fe9d3480af78ca70380eeae082524ce70bb9d3')
|
||||
|
||||
prepare() {
|
||||
cp -r RDFLib-rdflib-* python2-rdflib
|
||||
@ -48,4 +48,4 @@ package_python3-rdflib() {
|
||||
cd RDFLib-rdflib-*
|
||||
python3 setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
pkgbase=python-reportlab
|
||||
pkgname=('python2-reportlab' 'python3-reportlab')
|
||||
_origname=reportlab
|
||||
pkgver=3.3.0
|
||||
pkgver=3.4.0
|
||||
pkgrel=1
|
||||
pkgdesc="A proven industry-strength PDF generating solution"
|
||||
arch=('x86_64')
|
||||
@ -16,8 +16,7 @@ checkdepends=('python2-pillow' 'python3-pillow')
|
||||
conflicts=('python-reportlab<=2.5-1')
|
||||
replaces=('python-reportlab<=2.5-1')
|
||||
license=('CUSTOM')
|
||||
source=("https://pypi.python.org/packages/source/r/reportlab/${_origname}-${pkgver}.tar.gz")
|
||||
md5sums=('8ad6181b69ec515d4f6d8bb894682d5d')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz")md5sums=('3f2522cf3b69cd84426c216619bbff53')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
pkgbase=python-service-identity
|
||||
pkgname=('python3-service-identity' 'python2-service-identity')
|
||||
pkgver=14.0.0
|
||||
pkgrel=2
|
||||
pkgver=17.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Service identity verification for pyOpenSSL"
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
@ -14,8 +14,8 @@ makedepends=('python3-pyopenssl' 'python2-pyopenssl' 'python3-pyasn1' 'python2-p
|
||||
'python3-setuptools' 'python2-setuptools' 'python3-pyasn1-modules' 'python2-pyasn1-modules'
|
||||
'python3-characteristic' 'python2-characteristic' 'python3-pytest' 'python2-pytest')
|
||||
#checkdepends=('python3-idna' 'python2-idna')
|
||||
source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-${pkgver}.tar.gz")
|
||||
md5sums=('cea0b0156d73b025ecef660fb51f0d9a')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz")
|
||||
md5sums=('9d334f4a74659b661539ae4f5187eab3')
|
||||
|
||||
prepare() {
|
||||
cp -a service_identity-${pkgver}{,-python2}
|
||||
|
@ -5,7 +5,7 @@
|
||||
pkgbase=python-snowballstemmer
|
||||
pkgname=('python3-snowballstemmer' 'python2-snowballstemmer')
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('any')
|
||||
pkgdesc="Snowball stemming library collection for Python"
|
||||
url='https://github.com/shibukawa/snowball_py'
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
pkgbase=python-sphinx-alabaster-theme
|
||||
pkgname=('python3-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme')
|
||||
pkgver=0.7.7
|
||||
pkgver=0.7.10
|
||||
pkgrel=1
|
||||
pkgdesc="Modified Kr Sphinx doc theme"
|
||||
url='https://github.com/bitprophet/alabaster'
|
||||
@ -12,7 +12,7 @@ arch=(any)
|
||||
license=(BSD)
|
||||
makedepends=(python3-setuptools python2-setuptools)
|
||||
source=("https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz")
|
||||
md5sums=('4151237e852bdd641ef51eaa8c9f33d9')
|
||||
md5sums=('6b56aadd94e4ed55887db01816d2e9d1')
|
||||
|
||||
build() {
|
||||
cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
pkgbase=python-sphinx
|
||||
pkgname=('python3-sphinx' 'python2-sphinx')
|
||||
pkgver=1.3.6
|
||||
pkgver=1.6.5
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url='http://sphinx.pocoo.org/'
|
||||
@ -36,8 +36,8 @@ checkdepends=(
|
||||
'python2-mock'
|
||||
'python3-pytz' 'python2-pytz'
|
||||
)
|
||||
source=("http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz")
|
||||
md5sums=('7df638f47749f9284889c93012ffa07f')
|
||||
source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz")
|
||||
md5sums=('cd73118c21ec610432e63e6421ec54f1')
|
||||
|
||||
prepare() {
|
||||
# souce duplication is required because makefile modify source code
|
||||
|
@ -4,15 +4,15 @@
|
||||
|
||||
pkgbase=python-sphinx_rtd_theme
|
||||
pkgname=('python3-sphinx_rtd_theme' 'python2-sphinx_rtd_theme')
|
||||
pkgver=0.1.9
|
||||
pkgver=0.2.4
|
||||
pkgrel=1
|
||||
pkgdesc="Python Sphinx Read The Docs Theme"
|
||||
url='https://github.com/snide/sphinx_rtd_theme'
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
makedepends=('python3-setuptools' 'python2-setuptools')
|
||||
source=("https://pypi.python.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
|
||||
md5sums=('86a25c8d47147c872e42dc84cc66f97b')
|
||||
source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
|
||||
md5sums=('53b50a917bcc9d61fdf30fbe96c3c13b')
|
||||
|
||||
build() {
|
||||
cp -r sphinx_rtd_theme-$pkgver sphinx_rtd_theme-$pkgver-py2
|
||||
|
@ -5,7 +5,7 @@
|
||||
pkgbase=pyxdg
|
||||
pkgname=('python2-xdg' 'python3-xdg')
|
||||
pkgver=0.25
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Python library to access freedesktop.org standards."
|
||||
arch=('any')
|
||||
url="http://freedesktop.org/Software/pyxdg"
|
||||
@ -13,7 +13,7 @@ license=("LGPL")
|
||||
makedepends=('python2' 'python3')
|
||||
source=(http://www.freedesktop.org/~takluyver/${pkgbase}-${pkgver}.tar.gz{,.asc})
|
||||
sha1sums=('1272ee62b8c3909ac4844a34a95f8b1fb3398af2'
|
||||
'b5ec82567cc4d7bcf3a151eaf70c42dd3ed5b194')
|
||||
'SKIP')
|
||||
validpgpkeys=('6391296E3F25C0A721C1F1AFAF88B3AC5DECB224') # Thomas Kluyver
|
||||
|
||||
package_python2-xdg() {
|
||||
|
@ -3,7 +3,7 @@
|
||||
pkgname=python3-pycups
|
||||
pkgbase=pycups
|
||||
pkgver=1.9.73
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
pkgdesc="Python 3 CUPS Bindings"
|
||||
url="http://cyberelk.net/tim/software/pycups/"
|
@ -1,88 +0,0 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of www.chakra-project.org
|
||||
#
|
||||
# Maintainer: F Kosmale (Inkane) <inkane@chakra-project.org>
|
||||
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# A Boersma (abveritas) <abveritas@chakra-project.org>
|
||||
# Mateusz Krawczuk <willingmagic@gmail.com>
|
||||
|
||||
pkgname=python3
|
||||
pkgver=3.4.3
|
||||
pkgrel=2
|
||||
_pybasever=3.4
|
||||
pkgdesc="Next generation of the python high-level scripting language"
|
||||
arch=('x86_64')
|
||||
license=('custom')
|
||||
url="http://www.python.org/"
|
||||
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
|
||||
makedepends=('tk' 'sqlite3' 'valgrind' 'bluez')
|
||||
optdepends=('python3-setuptools'
|
||||
'python3-pip'
|
||||
'sqlite3'
|
||||
'xz: for lzma'
|
||||
'tk: for tkinter')
|
||||
options=('!makeflags')
|
||||
source=(http://www.python.org/ftp/python/${pkgver}/Python-${pkgver}.tar.xz)
|
||||
md5sums=('7d092d1bba6e17f0d9bd21b49e441dd5')
|
||||
|
||||
prepare() {
|
||||
cd Python-${pkgver}
|
||||
|
||||
# FS#23997
|
||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
|
||||
|
||||
# Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec),
|
||||
# rather than copies shipped in the tarball
|
||||
rm -r Modules/expat
|
||||
rm -r Modules/zlib
|
||||
rm -r Modules/_ctypes/{darwin,libffi}*
|
||||
rm -r Modules/_decimal/libmpdec
|
||||
}
|
||||
|
||||
build() {
|
||||
cd Python-${pkgver}
|
||||
|
||||
# Disable bundled pip & setuptools
|
||||
./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--with-threads \
|
||||
--with-computed-gotos \
|
||||
--enable-ipv6 \
|
||||
--with-system-expat \
|
||||
--with-dbmliborder=gdbm:ndbm \
|
||||
--with-system-ffi \
|
||||
--without-ensurepip
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
# test_site: http://bugs.python.org/issue21535
|
||||
|
||||
cd Python-${pkgver}
|
||||
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
|
||||
TERM=screen \
|
||||
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -uall -x test_site test_posixpath test_urllib2_localnet
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Python-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install maninstall
|
||||
|
||||
# Fix conflicts with python2
|
||||
rm ${pkgdir}/usr/bin/2to3
|
||||
#rm ${pkgdir}/usr/bin/python
|
||||
#rm ${pkgdir}/usr/bin/python-config
|
||||
#rm ${pkgdir}/usr/bin/idle
|
||||
#rm ${pkgdir}/usr/bin/pydoc
|
||||
|
||||
# Fix FS#22552
|
||||
ln -sf ../../libpython${_pybasever}m.so \
|
||||
"${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so"
|
||||
|
||||
# Clean-up reference to build directory
|
||||
sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile"
|
||||
|
||||
# License
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue
Block a user