Date: Wednesday, April 5, 2023 @ 18:51:02
Author: felixonmars
Revision: 1437904
archrelease: copy trunk to community-staging-x86_64
Added:
cython/repos/community-staging-x86_64/
cython/repos/community-staging-x86_64/PKGBUILD
(from rev 1437903, cython/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: cython/repos/community-staging-x86_64/PKGBUILD (from rev 1437903,
cython/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-05 18:51:02 UTC (rev 1437904)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Igor Scabini <furester @ gmail.com>
+
+pkgname=cython
+pkgver=0.29.33
+pkgrel=2
+pkgdesc='C-Extensions for Python'
+arch=(x86_64)
+url='https://cython.org'
+license=(APACHE)
+makedepends=(python-setuptools)
+source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
+sha256sums=('f1c07848de6c1bbe995c2bdbe237e558fd08747568b9503b079aae661fb8d99f')
+
+build() {
+ cd cython-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd cython-$pkgver
+ python setup.py install --root="$pkgdir" --skip-build
+
+ for f in cygdb cython cythonize; do
+ mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
+ ln -s ${f}3 "$pkgdir"/usr/bin/$f
+ done
+}