[arch-commits] Commit in python-cppy/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Fri Mar 11 23:23:39 UTC 2022


    Date: Friday, March 11, 2022 @ 23:23:39
  Author: felixonmars
Revision: 1148928

archrelease: copy trunk to community-any

Added:
  python-cppy/repos/community-any/PKGBUILD
    (from rev 1148927, python-cppy/trunk/PKGBUILD)
Deleted:
  python-cppy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-11 23:23:30 UTC (rev 1148927)
+++ PKGBUILD	2022-03-11 23:23:39 UTC (rev 1148928)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-cppy
-pkgver=1.1.0
-pkgrel=5
-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/
-}

Copied: python-cppy/repos/community-any/PKGBUILD (from rev 1148927, python-cppy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-11 23:23:39 UTC (rev 1148928)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cppy
+pkgver=1.2.0
+pkgrel=1
+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-scm')
+checkdepends=('python-pytest')
+source=("https://github.com/nucleic/cppy/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6a7c67094784a954794f1c665ff3bbba2d597e2f1f202196203ad883a10aea11d972771ff6d22b0b244ecee274bf10a989624815aeb527cff6a5463889b761db')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+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