[arch-commits] Commit in python-ujson/repos (4 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Sat Jan 23 16:40:34 UTC 2016


    Date: Saturday, January 23, 2016 @ 17:40:34
  Author: mtorromeo
Revision: 158698

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python-ujson/repos/community-i686/PKGBUILD
    (from rev 158697, python-ujson/trunk/PKGBUILD)
  python-ujson/repos/community-x86_64/PKGBUILD
    (from rev 158697, python-ujson/trunk/PKGBUILD)
Deleted:
  python-ujson/repos/community-i686/PKGBUILD
  python-ujson/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  132 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   64 ---------------------
 community-x86_64/PKGBUILD |   64 ---------------------
 3 files changed, 132 insertions(+), 128 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-01-23 16:40:06 UTC (rev 158697)
+++ community-i686/PKGBUILD	2016-01-23 16:40:34 UTC (rev 158698)
@@ -1,64 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-ujson
-pkgname=('python-ujson' 'python2-ujson')
-_pkgname=ultrajson
-pkgver=1.34
-pkgrel=1
-pkgdesc="Ultra fast JSON encoder and decoder for Python"
-url="https://github.com/esnme/ultrajson"
-arch=('i686' 'x86_64')
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/esnme/ultrajson/archive/v${pkgver}.tar.gz)
-sha512sums=('fce4c9d8d84ac84a35ed762f120c6e8ce8c2b0d29831c3d2a7e79c72b59279441b95e35831b149c501d00d738f0b9864f720da689e5da840a064c8c0b437006e')
-
-prepare() {
-  cp -ra ${_pkgname}-${pkgver}{,-py2}
-  2to3 -w ${_pkgname}-${pkgver}-py2/tests/tests.py
-}
-
-build() {
-  (cd ${_pkgname}-${pkgver}
-    python setup.py build
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-check() {
-  (cd ${_pkgname}-${pkgver}
-    # TODO: tests are currently broken
-    #local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      #python tests/tests.py
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    # TODO: tests are currently broken
-    #local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      #python2 tests/tests.py
-  )
-}
-
-package_python-ujson() {
-  depends=('python')
-
-  cd ${_pkgname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}"
-  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-package_python2-ujson() {
-  depends=('python2')
-
-  cd ${_pkgname}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}"
-  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-ujson/repos/community-i686/PKGBUILD (from rev 158697, python-ujson/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-23 16:40:34 UTC (rev 158698)
@@ -0,0 +1,66 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgbase=python-ujson
+pkgname=('python-ujson' 'python2-ujson')
+_pkgname=ultrajson
+pkgver=1.35
+pkgrel=1
+pkgdesc="Ultra fast JSON encoder and decoder for Python"
+url="https://github.com/esnme/ultrajson"
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/esnme/ultrajson/archive/v$pkgver.tar.gz)
+sha256sums=('1e7761583065873bed8466a3692fa5539d4f15bebc7af1c8fcc63d322a46804f')
+
+prepare() {
+  cp -ra "$srcdir"/$_pkgname-$pkgver{,-py2}
+  2to3 -w "$srcdir"/$_pkgname-$pkgver-py2/tests/tests.py
+}
+
+build() {
+  cd "$srcdir"/$_pkgname-$pkgver
+  mkdir ../buildpy3
+  python setup.py build -b ../buildpy3
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  mkdir ../buildpy2
+  python2 setup.py build -b ../buildpy2
+}
+
+check() {
+  cd "$srcdir"/$_pkgname-$pkgver
+  # TODO: tests are currently broken
+  #local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+    #python tests/tests.py
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  # TODO: tests are currently broken
+  #local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+    #python2 tests/tests.py
+}
+
+package_python-ujson() {
+  depends=('python')
+
+  cd "$srcdir"/$_pkgname-$pkgver
+  rm -rf build; ln -s ../buildpy3 build
+  python setup.py install --skip-build -O1 --root="$pkgdir"
+  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+package_python2-ujson() {
+  depends=('python2')
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  rm -rf build; ln -s ../buildpy2 build
+  python2 setup.py install --skip-build -O1 --root="$pkgdir"
+  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-01-23 16:40:06 UTC (rev 158697)
+++ community-x86_64/PKGBUILD	2016-01-23 16:40:34 UTC (rev 158698)
@@ -1,64 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-ujson
-pkgname=('python-ujson' 'python2-ujson')
-_pkgname=ultrajson
-pkgver=1.34
-pkgrel=1
-pkgdesc="Ultra fast JSON encoder and decoder for Python"
-url="https://github.com/esnme/ultrajson"
-arch=('i686' 'x86_64')
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/esnme/ultrajson/archive/v${pkgver}.tar.gz)
-sha512sums=('fce4c9d8d84ac84a35ed762f120c6e8ce8c2b0d29831c3d2a7e79c72b59279441b95e35831b149c501d00d738f0b9864f720da689e5da840a064c8c0b437006e')
-
-prepare() {
-  cp -ra ${_pkgname}-${pkgver}{,-py2}
-  2to3 -w ${_pkgname}-${pkgver}-py2/tests/tests.py
-}
-
-build() {
-  (cd ${_pkgname}-${pkgver}
-    python setup.py build
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-check() {
-  (cd ${_pkgname}-${pkgver}
-    # TODO: tests are currently broken
-    #local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      #python tests/tests.py
-  )
-  (cd ${_pkgname}-${pkgver}-py2
-    # TODO: tests are currently broken
-    #local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      #python2 tests/tests.py
-  )
-}
-
-package_python-ujson() {
-  depends=('python')
-
-  cd ${_pkgname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}"
-  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-package_python2-ujson() {
-  depends=('python2')
-
-  cd ${_pkgname}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}"
-  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-ujson/repos/community-x86_64/PKGBUILD (from rev 158697, python-ujson/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-23 16:40:34 UTC (rev 158698)
@@ -0,0 +1,66 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgbase=python-ujson
+pkgname=('python-ujson' 'python2-ujson')
+_pkgname=ultrajson
+pkgver=1.35
+pkgrel=1
+pkgdesc="Ultra fast JSON encoder and decoder for Python"
+url="https://github.com/esnme/ultrajson"
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/esnme/ultrajson/archive/v$pkgver.tar.gz)
+sha256sums=('1e7761583065873bed8466a3692fa5539d4f15bebc7af1c8fcc63d322a46804f')
+
+prepare() {
+  cp -ra "$srcdir"/$_pkgname-$pkgver{,-py2}
+  2to3 -w "$srcdir"/$_pkgname-$pkgver-py2/tests/tests.py
+}
+
+build() {
+  cd "$srcdir"/$_pkgname-$pkgver
+  mkdir ../buildpy3
+  python setup.py build -b ../buildpy3
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  mkdir ../buildpy2
+  python2 setup.py build -b ../buildpy2
+}
+
+check() {
+  cd "$srcdir"/$_pkgname-$pkgver
+  # TODO: tests are currently broken
+  #local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+    #python tests/tests.py
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  # TODO: tests are currently broken
+  #local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  #PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+    #python2 tests/tests.py
+}
+
+package_python-ujson() {
+  depends=('python')
+
+  cd "$srcdir"/$_pkgname-$pkgver
+  rm -rf build; ln -s ../buildpy3 build
+  python setup.py install --skip-build -O1 --root="$pkgdir"
+  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+package_python2-ujson() {
+  depends=('python2')
+
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  rm -rf build; ln -s ../buildpy2 build
+  python2 setup.py install --skip-build -O1 --root="$pkgdir"
+  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list