Date: Thursday, April 6, 2023 @ 17:41:09
Author: felixonmars
Revision: 1440054
archrelease: copy trunk to community-staging-x86_64
Added:
python-cython-test-exception-raiser/repos/community-staging-x86_64/
python-cython-test-exception-raiser/repos/community-staging-x86_64/PKGBUILD
(from rev 1440050, python-cython-test-exception-raiser/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied:
python-cython-test-exception-raiser/repos/community-staging-x86_64/PKGBUILD
(from rev 1440050, python-cython-test-exception-raiser/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-06 17:41:09 UTC (rev 1440054)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-cython-test-exception-raiser
+pkgver=1.0.2
+pkgrel=4
+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=('ad245eb87fe2d4d93d244b125d80f17fe6deeac86ae9a9129d211d9ff1738da39dc30d49a80f33d50a6fa52029403018c87a8637db9c21098ef8b0e3afe20ea7')
+
+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/
+}