[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Mar 21 19:41:54 UTC 2021
Date: Sunday, March 21, 2021 @ 19:41:53
Author: felixonmars
Revision: 898431
addpkg: python-cython-test-exception-raiser 1.0.0-1
Added:
python-cython-test-exception-raiser/
python-cython-test-exception-raiser/repos/
python-cython-test-exception-raiser/trunk/
python-cython-test-exception-raiser/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: python-cython-test-exception-raiser/trunk/PKGBUILD
===================================================================
--- python-cython-test-exception-raiser/trunk/PKGBUILD (rev 0)
+++ python-cython-test-exception-raiser/trunk/PKGBUILD 2021-03-21 19:41:53 UTC (rev 898431)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cython-test-exception-raiser
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A trivial extension that just raises an exception"
+url="https://github.com/twisted/cython-test-exception-raiser"
+license=('MIT')
+arch=('x86_64')
+depends=('python')
+makedepends=('python-setuptools' 'cython')
+source=("https://github.com/twisted/cython-test-exception-raiser/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4e1c5dd65a7c493cf43213badfcaaeb0df9c4774cc6f90cfd437612126893e7831d218c707599adb97dbee7ebaaa2372c796c634d75738bd06328735eb8f1189')
+
+build() {
+ cd cython-test-exception-raiser-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd cython-test-exception-raiser-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list