diff --git a/python-babel/PKGBUILD b/python-babel/PKGBUILD index 3deb9f126..33eb69297 100644 --- a/python-babel/PKGBUILD +++ b/python-babel/PKGBUILD @@ -6,8 +6,8 @@ pkgbase=python-babel pkgname=(python3-babel python2-babel) -pkgver=1.3 -pkgrel=3 +pkgver=2.2.0 +pkgrel=1 pkgdesc="A collection of tools for internationalizing Python applications" url="http://babel.pocoo.org/" license=("BSD") @@ -16,7 +16,7 @@ makedepends=('python3' 'python2' 'python3-setuptools' 'python2-setuptools' 'python3-pytz' 'python2-pytz') source=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/babel/archive/$pkgver.tar.gz") -md5sums=('752ecd661a4002d64ba07384404a2988') +md5sums=('44ad7b474978a4976ce5a83e9e33aaa1') package_python3-babel() { depends=('python3' 'python3-pytz') @@ -38,4 +38,4 @@ package_python2-babel() { python2 setup.py install --root=$pkgdir mv $pkgdir/usr/bin/pybabel $pkgdir/usr/bin/pybabel2 install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} \ No newline at end of file +} diff --git a/python-characteristic/PKGBUILD b/python-characteristic/PKGBUILD index 8fd938706..c934d3fdb 100644 --- a/python-characteristic/PKGBUILD +++ b/python-characteristic/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-characteristic pkgname=('python3-characteristic' 'python2-characteristic') pkgver=14.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Service identity verification for pyOpenSSL" arch=('any') license=('MIT') diff --git a/python-crypto/PKGBUILD b/python-crypto/PKGBUILD index 5ddf53b0e..691461818 100644 --- a/python-crypto/PKGBUILD +++ b/python-crypto/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=pycrypto pkgname=('python2-crypto' 'python3-crypto') pkgver=2.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python." arch=("x86_64") makedepends=('python2' 'python3' 'gmp') diff --git a/python-cssutils/PKGBUILD b/python-cssutils/PKGBUILD index e64a55d71..f9cd0875b 100644 --- a/python-cssutils/PKGBUILD +++ b/python-cssutils/PKGBUILD @@ -4,15 +4,15 @@ pkgbase=python-cssutils pkgname=('python3-cssutils' 'python2-cssutils') -pkgver=1.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="A CSS (Cascading Style Sheets) library for Python" arch=('any') url="http://code.google.com/p/cssutils/" license=('LGPL3') makedepends=('python3-setuptools' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.zip) -md5sums=('0c0b9df329ec1461c732d0f3cba05e93') +source=(http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.tar.gz) +md5sums=('7fcdf2c3e9f053136af1990146eb361d') build() { cd "${srcdir}" @@ -26,10 +26,10 @@ package_python3-cssutils() { python3 setup.py install --root="$pkgdir" --optimize=1 # Don't install tests (FS#27567) - rm -rf "${pkgdir}/usr/lib/python3.4/site-packages/tests" + rm -rf "${pkgdir}/usr/lib/python3.5/site-packages/tests" # Use #!/usr/bin/python3 - cd "${pkgdir}/usr/lib/python3.4/site-packages/cssutils" + cd "${pkgdir}/usr/lib/python3.5/site-packages/cssutils" find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env python/python3/' '{}' \; } diff --git a/python-cython/PKGBUILD b/python-cython/PKGBUILD index a6ea1754f..d21f0df15 100644 --- a/python-cython/PKGBUILD +++ b/python-cython/PKGBUILD @@ -2,7 +2,7 @@ pkgname=('python2-cython' 'python3-cython') pkgbase=cython pkgver=0.23.4 -pkgrel=2 +pkgrel=3 arch=(x86_64) url="http://www.cython.org" license=('APACHE') diff --git a/python-dbus/PKGBUILD b/python-dbus/PKGBUILD index f7947965f..668083bf1 100644 --- a/python-dbus/PKGBUILD +++ b/python-dbus/PKGBUILD @@ -9,7 +9,7 @@ pkgbase=dbus-python pkgname=("python-dbus-common" "python2-dbus" "python3-dbus" ) pkgver=1.2.0 -pkgrel=6 +pkgrel=7 arch=('x86_64') license=('GPL' 'LGPL') url="http://www.freedesktop.org/wiki/Software/DBusBindings" diff --git a/python-docutils/PKGBUILD b/python-docutils/PKGBUILD index 84731d937..463d6539b 100644 --- a/python-docutils/PKGBUILD +++ b/python-docutils/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=docutils pkgname=('python3-docutils' 'python2-docutils') pkgver=0.12 -pkgrel=1 +pkgrel=2 pkgdesc="Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX" arch=('any') url="http://docutils.sourceforge.net" diff --git a/python-fonttools/PKGBUILD b/python-fonttools/PKGBUILD index 24c90b67b..114b2cb81 100644 --- a/python-fonttools/PKGBUILD +++ b/python-fonttools/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-fonttools pkgname=('python2-fonttools' 'python3-fonttools') pkgver=3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Converts OpenType and TrueType fonts to and from XML" url="https://github.com/behdad/fonttools" license=("BSD") diff --git a/python-gmpy2/PKGBUILD b/python-gmpy2/PKGBUILD index 5ddac4426..f010b8bcc 100644 --- a/python-gmpy2/PKGBUILD +++ b/python-gmpy2/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=python-gmpy2 pkgname=('python2-gmpy2' 'python3-gmpy2') pkgver=2.0.5 -pkgrel=2 +pkgrel=3 pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic." arch=('i686' 'x86_64') url="http://code.google.com/p/gmpy/" diff --git a/python-gobject/PKGBUILD b/python-gobject/PKGBUILD index c68521f7e..0534732ed 100644 --- a/python-gobject/PKGBUILD +++ b/python-gobject/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=pygobject pkgname=(python2-gobject python3-gobject pygobject-devel) pkgver=3.14.0 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://live.gnome.org/PyGObject" license=(LGPL) diff --git a/python-greenlet/PKGBUILD b/python-greenlet/PKGBUILD index c47b8c6d5..e859730f9 100644 --- a/python-greenlet/PKGBUILD +++ b/python-greenlet/PKGBUILD @@ -3,15 +3,15 @@ _pkgname=python-greenlet pkgname=('python2-greenlet' 'python3-greenlet') -pkgver=0.4.3 +pkgver=0.4.9 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=('python2' 'python3') +makedepends=('python3-setuptools' 'python2-setuptools') url="http://bitbucket.org/ambroff/greenlet" source=("http://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip") -md5sums=('a5e467a5876c415cd357c1ab9027e06c') +md5sums=('c6659cdb2a5e591723e629d2eef22e82') prepare() { cp -a greenlet-$pkgver greenlet-$pkgver-py2 diff --git a/python-isodate/PKGBUILD b/python-isodate/PKGBUILD index 1088e8201..601a4fb9d 100644 --- a/python-isodate/PKGBUILD +++ b/python-isodate/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=isodate pkgname=('python2-isodate' 'python3-isodate') pkgver=0.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="An ISO 8601 date/time/duration parser and formater" arch=('any') url="http://pypi.python.org/pypi/isodate" diff --git a/python-jedi/PKGBUILD b/python-jedi/PKGBUILD index 355d46523..d8a4f30eb 100644 --- a/python-jedi/PKGBUILD +++ b/python-jedi/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=python-jedi pkgname=('python2-jedi' 'python3-jedi') -pkgver=0.8.1 +pkgver=0.9.0 pkgrel=1 arch=('any') url="https://github.com/davidhalter/jedi" @@ -10,7 +10,7 @@ license=('MIT') depends=('python2') makedepends=('python2-setuptools' 'python3-setuptools') source=("https://pypi.python.org/packages/source/j/jedi/jedi-${pkgver}.tar.gz") -md5sums=('0e4b205e05290b00ebabe19f351cddf7') +md5sums=('2fee93d273622527ef8c97ac736e92bd') check() { cd "$srcdir/jedi-${pkgver}" diff --git a/python-jinja/PKGBUILD b/python-jinja/PKGBUILD index 84534bbc4..987aa0163 100644 --- a/python-jinja/PKGBUILD +++ b/python-jinja/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=python-jinja pkgname=('python3-jinja' 'python2-jinja') pkgver=2.7.3 -pkgrel=1 +pkgrel=2 pkgdesc="A simple pythonic template language written in Python" arch=('any') url="http://jinja.pocoo.org" diff --git a/python-lxml/PKGBUILD b/python-lxml/PKGBUILD index c96c25e33..951a0520b 100644 --- a/python-lxml/PKGBUILD +++ b/python-lxml/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=python-lxml pkgname=('python3-lxml' 'python2-lxml' 'python-lxml-docs') pkgver=3.5.0 -pkgrel=1 +pkgrel=2 arch=('x86_64') license=('BSD' 'GPL' 'custom') makedepends=('python3' 'python2' 'libxslt') diff --git a/python-markupsafe/PKGBUILD b/python-markupsafe/PKGBUILD index 15949e3a0..c0293c9d6 100644 --- a/python-markupsafe/PKGBUILD +++ b/python-markupsafe/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-markupsafe pkgname=('python3-markupsafe' 'python2-markupsafe') pkgver=0.23 -pkgrel=1 +pkgrel=2 pkgdesc="Implements an XML/HTML/XHTML Markup safe string for Python" arch=('x86_64') url="http://pypi.python.org/pypi/MarkupSafe" diff --git a/python-mpmath/PKGBUILD b/python-mpmath/PKGBUILD index 9784687ec..a7ace9e39 100644 --- a/python-mpmath/PKGBUILD +++ b/python-mpmath/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=python-mpmath pkgname=('python2-mpmath' 'python3-mpmath') pkgver=0.19 -pkgrel=2 +pkgrel=3 pkgdesc='Python library for arbitrary-precision floating-point arithmetic.' arch=('any') url='http://mpmath.org/' diff --git a/python-nose/PKGBUILD b/python-nose/PKGBUILD index e159c8e29..01af8df69 100644 --- a/python-nose/PKGBUILD +++ b/python-nose/PKGBUILD @@ -5,15 +5,15 @@ pkgbase=python-nose pkgname=('python3-nose' 'python2-nose' 'python-nose-doc') -pkgver=1.3.4 +pkgver=1.3.7 pkgrel=1 pkgdesc="A discovery-based unittest extension" arch=('x86_64') url="http://nose.readthedocs.org/" -license=('LGPL2') +license=('LGPL2.1') makedepends=('python3' 'python3-setuptools' 'python2' 'python2-setuptools' 'python2-sphinx') source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz") -md5sums=('6ed7169887580ddc9a8e16048d38274d') +md5sums=('4d3ad0ff07b61373d2cefc89c5d0b20b') build() { cd "$srcdir/nose-$pkgver" diff --git a/python-numpy/PKGBUILD b/python-numpy/PKGBUILD index 9a023feac..374f5b07c 100644 --- a/python-numpy/PKGBUILD +++ b/python-numpy/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=python-numpy pkgname=('python3-numpy' 'python2-numpy') pkgver=1.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="Scientific tools for Python" arch=('x86_64') license=('custom') diff --git a/python-opengl/PKGBUILD b/python-opengl/PKGBUILD index f0dcc7ed0..59d122cf3 100644 --- a/python-opengl/PKGBUILD +++ b/python-opengl/PKGBUILD @@ -9,7 +9,7 @@ pkgbase=python-opengl pkgname=('python3-opengl' 'python2-opengl') pkgver=3.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="The cross platform Python binding to OpenGL and related APIs" arch=('any') license=('BSD') @@ -53,7 +53,7 @@ package_python3-opengl() { # Fix the shebang sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' \ - "${pkgdir}"/usr/lib/python3.4/site-packages/OpenGL/Tk/__init__.py + "${pkgdir}"/usr/lib/python3.5/site-packages/OpenGL/Tk/__init__.py sed -i 's|#! /usr/bin/env python|#!/usr/bin/python3|' \ - "${pkgdir}"/usr/lib/python3.4/site-packages/OpenGL/arrays/{_,}buffers.py + "${pkgdir}"/usr/lib/python3.5/site-packages/OpenGL/arrays/{_,}buffers.py } diff --git a/python-packaging/PKGBUILD b/python-packaging/PKGBUILD new file mode 100644 index 000000000..2b4a43f7f --- /dev/null +++ b/python-packaging/PKGBUILD @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-packaging +pkgname=(python3-packaging python2-packaging) +_pkgname=packaging +pkgver=16.5 +pkgrel=2 +pkgdesc="Core utilities for Python packages" +arch=('any') +url="https://github.com/pypa/packaging" +license=('Apache') +makedepends=('python3-setuptools' 'python2-setuptools' 'python3-pyparsing' 'python2-pyparsing' 'git') +#checkdepends=('python3-pytest-runner' 'python2-pytest-runner' 'python3-pretend' 'python2-pretend' 'python3-coverage' 'python2-coverage') +source=("git+https://github.com/pypa/packaging.git#tag=$pkgver") +md5sums=('SKIP') + +prepare() { + cp -a $_pkgname{,-py2} +} + +build() { + cd "${srcdir}/${_pkgname}" + python3 setup.py build + + cd "${srcdir}/${_pkgname}-py2" + python2 setup.py build +} + +#check() { +# cd "${srcdir}/${_pkgname}" +# python setup.py ptr +# +# cd "${srcdir}/${_pkgname}-py2" +# python2 setup.py ptr +#} + +package_python3-packaging() { + depends=('python3-pyparsing' 'python3-six') + + cd "${srcdir}/${_pkgname}" + python3 setup.py install --root "$pkgdir" +} + +package_python2-packaging() { + depends=('python2-pyparsing' 'python2-six') + + cd "${srcdir}/${_pkgname}-py2" + python2 setup.py install --root "$pkgdir" +} diff --git a/python-pexpect/PKGBUILD b/python-pexpect/PKGBUILD index 2a9467cd8..06a3b3358 100644 --- a/python-pexpect/PKGBUILD +++ b/python-pexpect/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-pexpect pkgname=('python3-pexpect' 'python2-pexpect') pkgver=4.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='Python module for spawning and controlling other applications' arch=('any') url='http://pexpect.sourceforge.net/' diff --git a/python-pip/PKGBUILD b/python-pip/PKGBUILD index ed608be06..2aa0fec9a 100644 --- a/python-pip/PKGBUILD +++ b/python-pip/PKGBUILD @@ -1,5 +1,5 @@ pkgname=('python3-pip' 'python2-pip') -pkgver=7.1.0 +pkgver=8.1.0 pkgrel=1 pkgdesc="An easy_install replacement for installing pypi python packages" url="http://www.pip-installer.org/" @@ -7,7 +7,7 @@ arch=('any') license=('MIT') makedepends=('python3' 'python3-setuptools' 'python2' 'python2-setuptools') source=(http://pypi.python.org/packages/source/p/pip/pip-${pkgver}.tar.gz) -md5sums=('d935ee9146074b1d3f26c5f0acfd120e') +md5sums=('e9c3844db343f47d16040b32ad9072be') package_python3-pip() { depends=('python3' 'python3-setuptools') @@ -20,7 +20,7 @@ package_python3-pip() { mv "$pkgdir/usr/bin/pip" "$pkgdir/usr/bin/pip3" sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python3|" \ - ${pkgdir}/usr/lib/python3.4/site-packages/pip/__init__.py + ${pkgdir}/usr/lib/python3.5/site-packages/pip/__init__.py install -D -m644 LICENSE.txt \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" diff --git a/python-pyasn1-modules/PKGBUILD b/python-pyasn1-modules/PKGBUILD index d6cb2036e..66b379c32 100644 --- a/python-pyasn1-modules/PKGBUILD +++ b/python-pyasn1-modules/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-pyasn1-modules pkgname=('python3-pyasn1-modules' 'python2-pyasn1-modules') pkgver=0.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="A collection of ASN.1-based protocols modules" arch=('any') license=('BSD') diff --git a/python-pyasn1/PKGBUILD b/python-pyasn1/PKGBUILD index 64a5248a9..fde3a68b4 100644 --- a/python-pyasn1/PKGBUILD +++ b/python-pyasn1/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=python-pyasn1 pkgname=('python3-pyasn1' 'python2-pyasn1') pkgver=0.1.7 -pkgrel=1 +pkgrel=2 arch=('any') url="http://sourceforge.net/projects/pyasn1/" license=('BSD') diff --git a/python-pygame/PKGBUILD b/python-pygame/PKGBUILD index b2cac37e1..db0cc1e80 100644 --- a/python-pygame/PKGBUILD +++ b/python-pygame/PKGBUILD @@ -1,14 +1,12 @@ # -# Chakra Packages for Chakra, part of chakra-project.org +# Chakra Packages for Chakra, part of chakraos.org # -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa pkgname=python-pygame pkgver=1.9.1 -pkgrel=3 +pkgrel=4 pkgdesc="Python game library" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://www.pygame.org/" license=('LGPL') depends=('python2' 'sdl_mixer' 'libvorbis' 'sdl_ttf' 'sdl_image' 'smpeg') @@ -35,4 +33,4 @@ package() { # Fixing permissions chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/* -} \ No newline at end of file +} diff --git a/python-pygments/PKGBUILD b/python-pygments/PKGBUILD index 7ff1f7d9c..c79c93ba1 100644 --- a/python-pygments/PKGBUILD +++ b/python-pygments/PKGBUILD @@ -1,7 +1,7 @@ pkgbase=python-pygments pkgname=('python3-pygments' 'python2-pygments' 'pygmentize') pkgver=2.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Python syntax highlighter" arch=('any') url="http://pygments.org/" diff --git a/python-pyparsing/PKGBUILD b/python-pyparsing/PKGBUILD new file mode 100644 index 000000000..5a76eccc9 --- /dev/null +++ b/python-pyparsing/PKGBUILD @@ -0,0 +1,33 @@ +pkgbase=python-pyparsing +pkgname=('python3-pyparsing' 'python2-pyparsing') +pkgver=2.1.0 +pkgrel=2 +pkgdesc='General parsing module for Python' +arch=('any') +url='http://pyparsing.wikispaces.com' +license=('MIT') +makedepends=('python3-setuptools' 'python2-setuptools') +source=("http://downloads.sourceforge.net/pyparsing/pyparsing-$pkgver.tar.gz") +sha256sums=('f6cb2bc85a491347c3c699db47f7ecc02903959156b4f92669ebf82395982901') + +prepare() { + cp -vr $srcdir/pyparsing-$pkgver $srcdir/pyparsing-$pkgver-py2 +} + +package_python3-pyparsing() { + cd "$srcdir/pyparsing-$pkgver" + + rm -rf build + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-pyparsing() { + cd "pyparsing-$pkgver-py2" + + rm -rf build + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-pyparsing/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/python-pytz/PKGBUILD b/python-pytz/PKGBUILD index eb8c9c7d8..88e664436 100644 --- a/python-pytz/PKGBUILD +++ b/python-pytz/PKGBUILD @@ -1,17 +1,16 @@ # -# Platform packages for Chakra, part of www.chakraos.org +# Platform packages for Chakra, part of chakraos.org # pkgname=('python3-pytz' 'python2-pytz') -pkgver=2014.7 +pkgver=2015.7 pkgrel=1 arch=('any') url="http://pypi.python.org/pypi/pytz" license=("MIT") makedepends=('python3' 'python2') -source=(http://pypi.python.org/packages/source/p/pytz/pytz-$pkgver.tar.bz2{,.asc}) -md5sums=('5c1d3966406c6637b95d1eb2652cd8e1' - 'SKIP') +source=(http://pypi.python.org/packages/source/p/pytz/pytz-$pkgver.tar.gz) +md5sums=('252bb731883f37ff9c7f462954e8706d') build(){ cd $srcdir diff --git a/python-rdflib/PKGBUILD b/python-rdflib/PKGBUILD index b87cd306d..5d9d77ad6 100644 --- a/python-rdflib/PKGBUILD +++ b/python-rdflib/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-rdflib pkgname=('python2-rdflib' 'python3-rdflib') pkgver=4.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information" arch=('any') url="http://rdflib.net/" diff --git a/python-reportlab/PKGBUILD b/python-reportlab/PKGBUILD index 1f36c183a..f5c22b345 100644 --- a/python-reportlab/PKGBUILD +++ b/python-reportlab/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-reportlab pkgname=('python2-reportlab' 'python3-reportlab') _origname=reportlab -pkgver=3.2.0 +pkgver=3.3.0 pkgrel=1 pkgdesc="A proven industry-strength PDF generating solution" arch=('x86_64') @@ -17,7 +17,7 @@ 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=('79d059e797c557aed4b40c68dd6c7eae') +md5sums=('8ad6181b69ec515d4f6d8bb894682d5d') build() { cd ${srcdir} diff --git a/python-service-identity/PKGBUILD b/python-service-identity/PKGBUILD index fe0101512..1dabeb4e7 100644 --- a/python-service-identity/PKGBUILD +++ b/python-service-identity/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-service-identity pkgname=('python3-service-identity' 'python2-service-identity') pkgver=14.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Service identity verification for pyOpenSSL" arch=('any') license=('MIT') diff --git a/python-setuptools/PKGBUILD b/python-setuptools/PKGBUILD index baae180dd..9ef825336 100644 --- a/python-setuptools/PKGBUILD +++ b/python-setuptools/PKGBUILD @@ -1,30 +1,30 @@ # -# Software packages for Chakra, part of www.chakra-project.org +# Software packages for Chakra, part of www.chakraos.org # # Maintainer: H W Tovetjärn (totte) # Contributors: A Velasquez pkgbase=python-setuptools pkgname=('python3-setuptools' 'python2-setuptools') -pkgver=5.7 -pkgrel=1 +pkgver=20.2.2 +pkgrel=2 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" arch=('any') license=('PSF') url="http://pypi.python.org/pypi/setuptools" -makedepends=('python3' 'python2') -source=(http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz) -md5sums=('81f980854a239d60d074d6ba052e21ed') +makedepends=('python3-six' 'python2-six') +#checkdepends=('python3-mock' 'python2-mock') -prepare() { +source=(http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz) +md5sums=('bf37191cb4c1472fb61e6f933d2006b1') + +prepare() { cp -a setuptools-${pkgver}{,-python2} cd "${srcdir}"/setuptools-${pkgver} - sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python3|" setuptools/tests/test_resources.py sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" setuptools/command/easy_install.py - - cd ../setuptools-${pkgver}-python2 - sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py + + cd "${srcdir}"/setuptools-${pkgver}-python2 sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py } @@ -43,15 +43,14 @@ build() { # # # Check python3 module # cd "${srcdir}"/setuptools-${pkgver} -# LC_CTYPE=en_US.utf8 python3 setup.py test +# LC_CTYPE=en_US.utf8 python3 setup.py ptr # # # Check python2 module # cd "${srcdir}"/setuptools-${pkgver}-python2 -# LC_CTYPE=en_US.utf8 python2 setup.py test +# LC_CTYPE=en_US.utf8 python2 setup.py ptr #} package_python3-setuptools() { - depends=('python3>=3.4') provides=('python3-distribute') conflicts=('python3-distribute') replaces=('python3-distribute') @@ -61,7 +60,6 @@ package_python3-setuptools() { } package_python2-setuptools() { - depends=('python2>=2.7') provides=('python-distribute' 'python2-distribute') conflicts=('python-distribute' 'python2-distribute') replaces=('python-distribute' 'python2-distribute') diff --git a/python-six/PKGBUILD b/python-six/PKGBUILD new file mode 100644 index 000000000..b7e204ff7 --- /dev/null +++ b/python-six/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Manuel 'UtG' +# Contributor: Allan McRae + +pkgbase=python-six +pkgname=('python2-six' 'python3-six') +pkgver=1.10.0 +pkgrel=2 +pkgdesc="Python 2 and 3 compatibility utilities" +arch=('any') +url="http://pypi.python.org/pypi/six/" +license=('MIT') +makedepends=('python2' 'python3') +source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz) +md5sums=('34eed507548117b2ab523ab14b2f8b55') + +build() { + cd $srcdir + cp -r six-$pkgver six2-$pkgver +} + +check() { + cd $srcdir/six-$pkgver + python3 setup.py check + + cd $srcdir/six2-$pkgver + python2 setup.py check +} + +package_python3-six() { + depends=('python3') + + cd $srcdir/six-$pkgver + python3 setup.py install --root "${pkgdir}" --optimize=1 + install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-six() { + depends=('python2') + + cd $srcdir/six2-$pkgver + python2 setup.py install --root "${pkgdir}" --optimize=1 + install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/python-snowballstemmer/PKGBUILD b/python-snowballstemmer/PKGBUILD new file mode 100644 index 000000000..30e999227 --- /dev/null +++ b/python-snowballstemmer/PKGBUILD @@ -0,0 +1,47 @@ +# +# Software packages for Chakra, part of chakraos.org +# + +pkgbase=python-snowballstemmer +pkgname=('python3-snowballstemmer' 'python2-snowballstemmer') +pkgver=1.2.1 +pkgrel=1 +arch=('any') +pkgdesc="Snowball stemming library collection for Python" +url='https://github.com/shibukawa/snowball_py' +license=('BSD') +makedepends=('python3' 'python2') +source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-${pkgver}.tar.gz") +md5sums=('643b019667a708a922172e33a99bf2fa') + +prepare() { + cp -a snowballstemmer-${pkgver}{,-py2} +} + +build() { + cd "$srcdir"/snowballstemmer-${pkgver} + python3 setup.py build + + cd "$srcdir"/snowballstemmer-${pkgver}-py2 + python2 setup.py build +} + +package_python3-snowballstemmer() { + depends=('python3') + optdepends=('python3-pystemmer: for improved performance') + + cd "$srcdir"/snowballstemmer-${pkgver} + python3 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst +} + +package_python2-snowballstemmer() { + depends=('python2') + optdepends=('python2-pystemmer: for improved performance') + + cd "$srcdir"/snowballstemmer-${pkgver}-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst +} diff --git a/python-sphinx-alabaster-theme/PKGBUILD b/python-sphinx-alabaster-theme/PKGBUILD new file mode 100644 index 000000000..30d55ae68 --- /dev/null +++ b/python-sphinx-alabaster-theme/PKGBUILD @@ -0,0 +1,39 @@ +# +# Software packages for Chakra, part of chakraos.org +# + +pkgbase=python-sphinx-alabaster-theme +pkgname=('python3-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme') +pkgver=0.7.7 +pkgrel=1 +pkgdesc="Modified Kr Sphinx doc theme" +url='https://github.com/bitprophet/alabaster' +arch=(any) +license=(BSD) +makedepends=(python3-setuptools python2-setuptools) +source=("https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz") +md5sums=('4151237e852bdd641ef51eaa8c9f33d9') + +build() { + cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2 + + cd alabaster-"$pkgver" + python3 setup.py build + + cd "$srcdir"/alabaster-"$pkgver"-py2 + python2 setup.py build +} + +package_python3-sphinx-alabaster-theme() { + cd alabaster-"$pkgver" + python3 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +} + +package_python2-sphinx-alabaster-theme() { + cd alabaster-"$pkgver"-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +} diff --git a/python-sphinx/PKGBUILD b/python-sphinx/PKGBUILD index 92c2e8016..d9479fab3 100644 --- a/python-sphinx/PKGBUILD +++ b/python-sphinx/PKGBUILD @@ -9,8 +9,8 @@ pkgbase=python-sphinx pkgname=('python3-sphinx' 'python2-sphinx') -pkgver=1.2.3 -pkgrel=2 +pkgver=1.3.6 +pkgrel=1 arch=('any') url='http://sphinx.pocoo.org/' license=('GPL') @@ -19,18 +19,25 @@ makedepends=( 'python3-docutils' 'python3-jinja' 'python3-pygments' + 'python3-six' 'python2-setuptools' 'python2-docutils' 'python2-jinja' 'python2-pygments' + 'python2-six' ) checkdepends=( - 'python3-nose' - 'python2-nose' + 'python3-nose' 'python2-nose' 'texlive-latexextra' + 'python3-snowballstemmer' 'python2-snowballstemmer' + 'python3-babel' 'python2-babel' + 'python3-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme' + 'python3-sphinx_rtd_theme' 'python2-sphinx_rtd_theme' + 'python2-mock' + 'python3-pytz' 'python2-pytz' ) source=("http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz") -md5sums=('a98c93124035b4cd7183604aec656cb3') +md5sums=('7df638f47749f9284889c93012ffa07f') prepare() { # souce duplication is required because makefile modify source code @@ -62,21 +69,30 @@ build() { make PYTHON=python2 build } -check() { - msg2 'Python 3 version' - cd "$srcdir"/Sphinx-$pkgver - make PYTHON=python3 test - rm -r build/lib/tests - - msg2 'Python 2 version' - cd "$srcdir"/Sphinx-${pkgver}2 - make PYTHON=python2 test - rm -r build/lib/tests -} +#check() { +# msg2 'Python 3 version' +# cd "$srcdir"/Sphinx-$pkgver +# make PYTHON=python3 test +# rm -r tests +# +# msg2 'Python 2 version' +# cd "$srcdir"/Sphinx-${pkgver}2 +# make PYTHON=python2 test +# rm -r tests +#} package_python3-sphinx() { pkgdesc='Python 3 documentation generator' - depends=('python3' 'python3-jinja' 'python3-pygments' 'python3-docutils') + depends=( + 'python3-jinja' + 'python3-pygments' + 'python3-docutils' + 'python3-sphinx_rtd_theme' + 'python3-sphinx-alabaster-theme' + 'python3-babel' + 'python3-snowballstemmer' + 'python3-six' + ) optdepends=('texlive-latexextra: for generation of PDF documentation') cd Sphinx-$pkgver @@ -85,7 +101,16 @@ package_python3-sphinx() { package_python2-sphinx() { pkgdesc='Python 2 documentation generator' - depends=('python2' 'python2-jinja' 'python2-pygments' 'python2-docutils') + depends=( + 'python2-jinja' + 'python2-pygments' + 'python2-docutils' + 'python2-sphinx_rtd_theme' + 'python2-sphinx-alabaster-theme' + 'python2-babel' + 'python2-snowballstemmer' + 'python2-six' + ) optdepends=('texlive-latexextra: for generation of PDF documentation') cd Sphinx-${pkgver}2 diff --git a/python-sphinx_rtd_theme/PKGBUILD b/python-sphinx_rtd_theme/PKGBUILD new file mode 100644 index 000000000..f17e5769e --- /dev/null +++ b/python-sphinx_rtd_theme/PKGBUILD @@ -0,0 +1,40 @@ +# +# Software packages for Chakra, part of chakraos.org +# + +pkgbase=python-sphinx_rtd_theme +pkgname=('python3-sphinx_rtd_theme' 'python2-sphinx_rtd_theme') +pkgver=0.1.9 +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') + +build() { + cp -r sphinx_rtd_theme-$pkgver sphinx_rtd_theme-$pkgver-py2 + + cd sphinx_rtd_theme-$pkgver + python3 setup.py build + + cd "$srcdir"/sphinx_rtd_theme-$pkgver-py2 + python2 setup.py build +} + +package_python3-sphinx_rtd_theme() { + cd sphinx_rtd_theme-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-sphinx_rtd_theme() { + cd sphinx_rtd_theme-${pkgver}-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/python-twisted/PKGBUILD b/python-twisted/PKGBUILD index a9d867340..12517d2a6 100644 --- a/python-twisted/PKGBUILD +++ b/python-twisted/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=twisted pkgname=(python3-twisted python2-twisted) pkgver=14.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Asynchronous networking framework written in Python" arch=('x86_64') url="http://twistedmatrix.com/" diff --git a/python-xcffib/PKGBUILD b/python-xcffib/PKGBUILD deleted file mode 100644 index 6596ac0b9..000000000 --- a/python-xcffib/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ - -# Maintainer: AlmAck - -pkgbase=python-xcffib -pkgname=(python3-xcffib python2-xcffib) -pkgver=0.3.6 -pkgrel=1 -pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding" -arch=('x86_64') -url="https://pypi.python.org/pypi/xcffib" -license=('Apache') -makedepends=('python3-setuptools' 'python2-setuptools' 'python3-cffi' 'python2-cffi' - 'python3-six' 'python2-six' 'libxcb' 'git' 'ghc' 'haskell-xcb-types' - 'haskell-language-python' 'haskell-filemanip' 'haskell-split' - 'haskell-mtl' 'haskell-attoparsec' 'haskell-hunit' 'cabal-install' - 'haskell-test-framework' 'haskell-test-framework-hunit' - 'haskell-optparse-applicative') -source=("git+https://github.com/tych0/xcffib.git#tag=v$pkgver") -md5sums=('SKIP') - -prepare() { - cp -a xcffib-$pkgver{,-py2} -} - -build() { - cd "$srcdir/xcffib" - make xcffib - - cd "$srcdir/xcffib-py2" - make xcffib -} - -check() { - cd "$srcdir/xcffib" - make check - - cd "$srcdir/xcffib-py2" - make check -} - - -package_python3-xcffib() { - depends=('python3-six' 'python3-cffi' 'libxcb') - - cd "$srcdir/xcffib-$pkgver" - python3 setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-xcffib() { - depends=('python2-six' 'python2-cffi' 'libxcb') - - cd "$srcdir/xcffib-$pkgver-py2" - python2 setup.py install --root="$pkgdir/" --optimize=1 -} diff --git a/python-zope-interface/PKGBUILD b/python-zope-interface/PKGBUILD index 81580263a..9bef42b4f 100644 --- a/python-zope-interface/PKGBUILD +++ b/python-zope-interface/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=python-zope-interface pkgname=('python3-zope-interface' 'python2-zope-interface') pkgver=4.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Separate distribution of the zope.interface package used in Zope 3" license=('ZPL') arch=('x86_64') @@ -44,7 +44,7 @@ package_python3-zope-interface() { cd "${srcdir}/zope.interface-${pkgver}" python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 - cp src/zope/__init__.py "${pkgdir}/usr/lib/python3.4/site-packages/zope/" + cp src/zope/__init__.py "${pkgdir}/usr/lib/python3.5/site-packages/zope/" } package_python2-zope-interface(){ @@ -56,4 +56,4 @@ package_python2-zope-interface(){ cd "${srcdir}/zope.interface-${pkgver}-python2" python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 cp src/zope/__init__.py "${pkgdir}/usr/lib/python2.7/site-packages/zope/" -} \ No newline at end of file +} diff --git a/python3.order b/python3.order new file mode 100644 index 000000000..3f056c47c --- /dev/null +++ b/python3.order @@ -0,0 +1,51 @@ +# +# Chakra GNU/Linux Config file +# +# Python3 order list : 13-03-2016 +# + +python3 +python3-cairo +python-six +python-setuptools + +python-packaging +python-pyparsing + +python-pytz +python-babel +python-greenlet +python-service-identity +python-characteristic +python-isodate +python-pexpect +python-crypto +python-jedi --TODO +python-pip +python-cssutils +python-jinja +python-pyasn1 +python-sphinx_rtd_theme +python-sphinx-alabaster-theme +python-snowballstemmer + +python-sphinx +python-nose +python-cython +python-lxml +python-pyasn1-modules +python-twisted +python-dbus +python-markupsafe +python-docutils +python-mpmath +python-pygments +python-zope-interface +python-fonttools + +python-gmpy2 +python-numpy +python-rdflib +python-gobject +python-opengl +python-reportlab