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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 15:27:00 UTC 2021


    Date: Thursday, December 2, 2021 @ 15:26:59
  Author: felixonmars
Revision: 430310

archrelease: copy trunk to staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 15:26:51 UTC (rev 430309)
+++ PKGBUILD	2021-12-02 15:26:59 UTC (rev 430310)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: lilydjwg <lilydjwg at gmail.com>
-
-pkgname=python-cffi
-pkgver=1.15.0
-pkgrel=2
-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
-}

Copied: python-cffi/repos/staging-x86_64/PKGBUILD (from rev 430309, python-cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 15:26:59 UTC (rev 430310)
@@ -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=3
+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