[arch-commits] Commit in python-cffi/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jul 12 01:37:26 UTC 2021
Date: Monday, July 12, 2021 @ 01:37:26
Author: felixonmars
Revision: 419621
archrelease: copy trunk to extra-x86_64
Added:
python-cffi/repos/extra-x86_64/PKGBUILD
(from rev 419620, python-cffi/trunk/PKGBUILD)
Deleted:
python-cffi/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-12 01:37:08 UTC (rev 419620)
+++ PKGBUILD 2021-07-12 01:37:26 UTC (rev 419621)
@@ -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.5
-pkgrel=1
-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=('0e2e739e44507898d713c0e2c20f2e2eee3c468fd14b3adc9d7acf69d8bc0172993790d5178e637bcc454d1e62cc680b9c3cade05965eb25dc6cd22ffef924ce')
-
-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 419620, python-cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-12 01:37:26 UTC (rev 419621)
@@ -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.6
+pkgrel=1
+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
+}
More information about the arch-commits
mailing list