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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 10:34:06 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:34:06
  Author: foutrelis
Revision: 400493

archrelease: copy trunk to staging-x86_64

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

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:34:02 UTC (rev 400492)
+++ PKGBUILD	2020-11-12 10:34:06 UTC (rev 400493)
@@ -1,59 +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.14.3
-pkgrel=2
-pkgdesc="Foreign Function Interface for Python calling C code"
-arch=('x86_64')
-url="https://cffi.readthedocs.org/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pycparser' 'python2-pycparser')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://foss.heptapod.net/pypy/cffi/-/archive/v$pkgver/cffi-v$pkgver.tar.bz2")
-sha512sums=('dd83ed9f330bc5b7d9a23293d68574e4ce2be757cf876a13274471a14e59eca43c93ecc677dccdbfe3f37c7e4ebd6ee645dc28a287c961d342defe99833dc6dc')
-
-prepare() {
-  cp -a cffi-v$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/cffi-v$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cffi-v$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/cffi-v$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/cffi-v$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-cffi() {
-  depends=('python-pycparser')
-
-  cd cffi-v$pkgver
-
-  # remove files created during check() for reproducible SOURCES.txt
-  rm -rf testing/cffi{0,1}/__pycache__/
-
-  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-v$pkgver-py2
-
-  # remove files created during check() for reproducible SOURCES.txt
-  rm -rf testing/cffi{0,1}/__pycache__/
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-cffi/repos/staging-x86_64/PKGBUILD (from rev 400492, python-cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 10:34:06 UTC (rev 400493)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgbase=python-cffi
+pkgname=(python-cffi python2-cffi)
+pkgver=1.14.3
+pkgrel=3
+pkgdesc="Foreign Function Interface for Python calling C code"
+arch=('x86_64')
+url="https://cffi.readthedocs.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pycparser' 'python2-pycparser')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://foss.heptapod.net/pypy/cffi/-/archive/v$pkgver/cffi-v$pkgver.tar.bz2")
+sha512sums=('dd83ed9f330bc5b7d9a23293d68574e4ce2be757cf876a13274471a14e59eca43c93ecc677dccdbfe3f37c7e4ebd6ee645dc28a287c961d342defe99833dc6dc')
+
+prepare() {
+  cp -a cffi-v$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cffi-v$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cffi-v$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cffi-v$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/cffi-v$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-cffi() {
+  depends=('python-pycparser')
+
+  cd cffi-v$pkgver
+
+  # remove files created during check() for reproducible SOURCES.txt
+  rm -rf testing/cffi{0,1}/__pycache__/
+
+  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-v$pkgver-py2
+
+  # remove files created during check() for reproducible SOURCES.txt
+  rm -rf testing/cffi{0,1}/__pycache__/
+
+  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