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

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 29 19:46:38 UTC 2021


    Date: Monday, November 29, 2021 @ 19:46:38
  Author: arojas
Revision: 429484

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:46:28 UTC (rev 429483)
+++ PKGBUILD	2021-11-29 19:46:38 UTC (rev 429484)
@@ -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.6
-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=('3845375c3ad44b3e50b0cd484c445c3e26e91bafab47beeeedcd4be8ffa67b23f758e18a73a3867f221502d6fb6566603de880d75d9b6a95799e4272488848cd')
-
-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/extra-x86_64/PKGBUILD (from rev 429483, python-cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 19:46:38 UTC (rev 429484)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgname=python-cffi
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="Foreign Function Interface for Python calling C code"
+arch=('x86_64')
+url="https://cffi.readthedocs.org/"
+license=('MIT')
+depends=('python-pycparser')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://foss.heptapod.net/pypy/cffi/-/archive/v$pkgver/cffi-v$pkgver.tar.bz2")
+sha512sums=('c8a0a061905d133770a06d4c4fd0158a104a04a88f1c9367160e8c1e1d2153af903aaa8dcb3cc3e252f02c6d6a8e11240bf5b82c490281d6ce8f8e21d59afa93')
+
+build() {
+  cd "$srcdir"/cffi-v$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/cffi-v$pkgver
+  python setup.py pytest
+}
+
+package() {
+  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
+}



More information about the arch-commits mailing list