[arch-commits] Commit in python-cppy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:51:31 UTC 2020
Date: Monday, November 9, 2020 @ 15:51:30
Author: felixonmars
Revision: 747194
archrelease: copy trunk to community-staging-any
Added:
python-cppy/repos/community-staging-any/
python-cppy/repos/community-staging-any/PKGBUILD
(from rev 747193, python-cppy/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-cppy/repos/community-staging-any/PKGBUILD (from rev 747193, python-cppy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:51:30 UTC (rev 747194)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cppy
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="A collection of C++ headers which make it easier to write Python C extension modules"
+url="https://github.com/nucleic/cppy"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nucleic/cppy/archive/$pkgver.tar.gz")
+sha512sums=('b745b6fe1d02f87b8c257a73792ed583ca6e709943af567105f6ccfcf9c5eb99e9dcaaad42b0b4d6f90de2b4398bf8e5bb042798cd98e376c90e9b54ea24a212')
+
+build() {
+ cd cppy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd cppy-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd cppy-$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