Date: Tuesday, January 31, 2023 @ 20:13:47
  Author: felixonmars
Revision: 1391529

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:13:35 UTC (rev 1391528)
+++ PKGBUILD    2023-01-31 20:13:47 UTC (rev 1391529)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-cppy
-pkgver=1.2.1
-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-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
-checkdepends=('python-pytest')
-source=("https://github.com/nucleic/cppy/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('f6493830a8a66f52fff7c592db9d255fd7178ba320faee6a96258f29b6f299ffeca83f001650390b05c1037eb1350b0bd4da701d77a7bcb1a1babc108b7b8f97')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd cppy-$pkgver
-  python -m build -wn
-}
-
-check() {
-  cd cppy-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd cppy-$pkgver
-  python -m installer -d "$pkgdir" dist/*.whl
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-cppy/repos/community-any/PKGBUILD (from rev 1391528, 
python-cppy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:13:47 UTC (rev 1391529)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-cppy
+pkgver=1.2.1
+_commit=13a67972ca9063951440c911270f204aa7fe631a
+pkgrel=3
+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=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+checkdepends=('python-pytest')
+source=("git+https://github.com/nucleic/cppy.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd cppy
+  python -m build -wn
+}
+
+check() {
+  cd cppy
+  python -m pytest
+}
+
+package() {
+  cd cppy
+  python -m installer -d "$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to