Commit 1d6300ac authored by Luca Giambonini's avatar Luca Giambonini

rebuild/update missing py3 group

parent 3fb55ead
......@@ -2,7 +2,7 @@
pkgbase=python-magic
pkgname=(python2-magic python3-magic)
pkgver=5.29
pkgver=5.32
pkgrel=1
pkgdesc="Python bindings to the magic library"
arch=('x86_64')
......@@ -10,7 +10,7 @@ url='http://darwinsys.com/file/'
license=('custom')
makedepends=('python2' 'python3' 'python2-setuptools' 'python3-setuptools')
source=("ftp://ftp.astron.com/pub/file/file-${pkgver}.tar.gz")
md5sums=('e6a972d4e10d9e76407a432f4a63cd4c')
md5sums=('4f2503752ff041895090ed6435610435')
install=$pkgbase.install
prepare() {
......
pkgbase=python-oauth2
pkgname=(python{2,3}-oauth2)
pkgver=1.9
pkgrel=1
pkgrel=2
pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers"
arch=(any)
url="https://github.com/simplegeo/python-oauth2"
......
......@@ -3,7 +3,7 @@
pkgbase=python-simplejson
pkgname=('python2-simplejson' 'python3-simplejson')
pkgver=3.8.2
pkgver=3.13.2
pkgrel=1
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
license=('MIT')
......
......@@ -4,7 +4,7 @@
pkgbase=python-sqlalchemy
pkgname=('python3-sqlalchemy' 'python2-sqlalchemy')
pkgver=1.0.12
pkgver=1.1.15
pkgrel=1
pkgdesc="Python SQL toolkit and Object Relational Mapper"
arch=('x86_64')
......@@ -12,8 +12,10 @@ url="http://www.sqlalchemy.org/"
license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools')
checkdepends=('python2-pytest' 'python3-pytest' 'python2-mock' 'python3-mock')
source=("https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz")
md5sums=('6d19ef29883bbebdcac6613cf391cac4')
source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
md5sums=('077f9bd3339957f53068b5572a152674'
'SKIP')
prepare() {
cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
......@@ -43,6 +45,9 @@ package_python3-sqlalchemy() {
pkgdesc='Python SQL toolkit and Object Relational Mapper'
depends=('python3')
optdepends=('python3-psycopg2: connect to PostgreSQL database')
provides=('python-sqlalchemy')
replaces=('python-sqlalchemy')
conflicts=('python-sqlalchemy')
cd SQLAlchemy-${pkgver}
python3 setup.py install --root="${pkgdir}"
......@@ -54,9 +59,6 @@ package_python2-sqlalchemy() {
pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
depends=('python2')
optdepends=('python2-psycopg2: connect to PostgreSQL database')
provides=('python-sqlalchemy')
replaces=('python-sqlalchemy')
conflicts=('python-sqlalchemy')
cd SQLAlchemy2-$pkgver
python2 setup.py install --root="$pkgdir"
......
pkgbase=python-sympy
pkgname=('python2-sympy' 'python3-sympy')
pkgver=1.0
pkgrel=2
pkgver=1.1.1
pkgrel=1
arch=('any')
pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
url='http://sympy.org/en/index.html'
license=('BSD')
makedepends=('python2-mpmath' 'python3-mpmath' 'python3-setuptools' 'python2-setuptools')
source=("https://github.com/sympy/sympy/archive/sympy-${pkgver}.tar.gz")
sha256sums=('bf6f4c6c79d7c0c5057f59274ab9c71ae1d35f1c9f979d1c9787ad54ef7cb282')
sha256sums=('4420a1e31939244d7ea73e164fdbb0d4a6a2e764d56e5bf632f57a988f13767f')
prepare() {
cp -a sympy{,-py2}
cp -a sympy-sympy-$pkgver{,-py2}
}
build() {
cd "$srcdir"/sympy
cd "$srcdir"/sympy-sympy-$pkgver
python2 setup.py build
cd "$srcdir"/sympy-py2
cd "$srcdir"/sympy-sympy-$pkgver-py2
python3 setup.py build
}
check() {
cd "$srcdir"/sympy
cd "$srcdir"/sympy-sympy-$pkgver
python2 setup.py test
cd "$srcdir"/sympy-py2
cd "$srcdir"/sympy-sympy-$pkgver-py2
python3 setup.py test
}
......@@ -35,7 +35,7 @@ package_python2-sympy() {
optdepends=('python2-pyglet: plotting'
'ipython2: user friendly interface for isympy')
cd sympy
cd sympy-sympy-$pkgver-py2
python2 setup.py install --root "${pkgdir}" --optimize=1
......@@ -46,7 +46,7 @@ package_python3-sympy() {
depends=('python3-mpmath')
optdepends=('ipython3: user friendly interface for isympy')
cd py3-sympy
cd sympy-sympy-$pkgver
python3 setup.py install --root "${pkgdir}" --optimize=1
......
pkgbase=tqdm
pkgname=(python3-${pkgbase} python2-${pkgbase})
pkgver=4.11.2
pkgver=4.19.4
pkgrel=1
pkgdesc="Simple Python Progress Meter"
arch=('any')
......@@ -9,7 +9,7 @@ license=('MIT')
makedepends=('python3-setuptools' 'python2-setuptools' 'python2' 'python3')
options=('!emptydirs')
source=(https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz)
sha512sums=('9375e03a25dea65193c9bc1add952486625e1087e2ce6bd7adc4ddc98a1b9898595130a2c81c253d5566cd323f11ee48067a46ca3f16828ed6c000f0bc1a022a')
sha512sums=('56d1f2cd8f7a56964611f0399c6f8f6c64740428e38ebde6778397340b57787a3409de2755269c1a26db38cd85ddf3c90636a36d742eb2b51d8736e5ad6c5989')
prepare() {
cp -a "${srcdir}/${pkgbase}-${pkgver}"{,-py2}
......
......@@ -4,33 +4,32 @@
pkgbase=python-unidecode
pkgname=('python2-unidecode' 'python3-unidecode')
_pkgname=Unidecode
pkgver=0.04.19
pkgrel=2
pkgver=0.04.21
pkgrel=1
pkgdesc='ASCII transliterations of Unicode text.'
arch=('x86_64')
license=('GPL')
url="http://pypi.python.org/pypi/Unidecode/"
makedepends=('python2-setuptools' 'python3-setuptools')
options=('!emptydirs')
source=(http://pypi.python.org/packages/source/U/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('51477646a9169469e37e791b13ae65fcc75b7f7f570d0d3e514d077805c02e1e')
source=("python-unidecode-${pkgver}.tar.gz::https://github.com/avian2/unidecode/archive/release-${pkgver}.tar.gz")
sha256sums=('94aae5e8bed7a7646ba3a206f3fa2020464b9f88cef1853bc5cc580be15a3a3b')
prepare() {
for d in python{,2,3}-unidecode; do
cp -r Unidecode-${pkgver} $d
done
cp -r {,python-}unidecode-release-${pkgver}
mv {,python2-}unidecode-release-${pkgver}
}
build() {
for d in python{,2,3}-unidecode; do
pushd $d
${d%-*} setup.py build
for py in python{,2}; do
pushd ${py}-unidecode-release-${pkgver}
${py} setup.py build
popd
done
}
package_python2-unidecode() {
cd python2-unidecode
cd python2-unidecode-release-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
cd $pkgdir/usr/bin
mv unidecode unidecode2
......@@ -38,7 +37,7 @@ package_python2-unidecode() {
}
package_python3-unidecode() {
cd python3-unidecode
cd python-unidecode-release-${pkgver}
python3 setup.py install --root="${pkgdir}" --optimize='1'
mv unidecode unidecode3
}
......@@ -5,7 +5,7 @@
pkgname=python3-pysdl2
pkgver=0.9.5
pkgrel=1
pkgrel=2
pkgdesc="A Python wrapper around the SDL2 library"
arch=('any')
url="https://bitbucket.org/marcusva/py-sdl2/overview"
......
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