[arch-commits] Commit in python-cffi/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Apr 20 18:47:46 UTC 2019


    Date: Saturday, April 20, 2019 @ 18:47:46
  Author: felixonmars
Revision: 351524

archrelease: copy trunk to extra-x86_64

Added:
  python-cffi/repos/extra-x86_64/PKGBUILD
    (from rev 351523, python-cffi/trunk/PKGBUILD)
Deleted:
  python-cffi/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-20 18:47:29 UTC (rev 351523)
+++ PKGBUILD	2019-04-20 18:47:46 UTC (rev 351524)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: lilydjwg <lilydjwg at gmail.com>
-
-pkgbase=python-cffi
-pkgname=(python-cffi python2-cffi)
-pkgver=1.12.2
-pkgrel=1
-pkgdesc="Foreign Function Interface for Python calling C code"
-arch=('x86_64')
-url="http://cffi.readthedocs.org/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pycparser' 'python2-pycparser')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/cffi/cffi/get/v$pkgver.tar.gz")
-sha512sums=('26506e8ad01c443a6046af8e2b79f23c92138c5d1d642a2b54f4a15753f9632a260ecfc2e24ddf06ad0c259c969756222e8efbb7154dda39075b99e33822b2c8')
-
-prepare() {
-  mv cffi-cffi-* cffi-$pkgver
-  cp -a cffi-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/cffi-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cffi-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/cffi-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/cffi-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-cffi() {
-  depends=('python-pycparser')
-
-  cd cffi-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-cffi() {
-  depends=('python2-pycparser')
-
-  cd cffi-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-cffi/repos/extra-x86_64/PKGBUILD (from rev 351523, python-cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-20 18:47:46 UTC (rev 351524)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgbase=python-cffi
+pkgname=(python-cffi python2-cffi)
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="Foreign Function Interface for Python calling C code"
+arch=('x86_64')
+url="http://cffi.readthedocs.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pycparser' 'python2-pycparser')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/cffi/cffi/get/v$pkgver.tar.gz")
+sha512sums=('99204b601dcb998b7d4a287f0ed906eac6789fb07f9983034db52a02fb335198b6df18dc214e4ea228e6a3f0a6455159de629bbe336b0f5a3f716bad67ddd49b')
+
+prepare() {
+  mv cffi-cffi-* cffi-$pkgver
+  cp -a cffi-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cffi-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cffi-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cffi-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/cffi-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-cffi() {
+  depends=('python-pycparser')
+
+  cd cffi-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cffi() {
+  depends=('python2-pycparser')
+
+  cd cffi-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list