[arch-commits] Commit in python-cython-test-exception-raiser/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Mar 21 19:42:03 UTC 2021
Date: Sunday, March 21, 2021 @ 19:42:02
Author: felixonmars
Revision: 898432
archrelease: copy trunk to community-x86_64
Added:
python-cython-test-exception-raiser/repos/community-x86_64/
python-cython-test-exception-raiser/repos/community-x86_64/PKGBUILD
(from rev 898431, python-cython-test-exception-raiser/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-cython-test-exception-raiser/repos/community-x86_64/PKGBUILD (from rev 898431, python-cython-test-exception-raiser/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-03-21 19:42:02 UTC (rev 898432)
@@ -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