Date: Friday, April 7, 2023 @ 04:17:54
  Author: felixonmars
Revision: 1440491

archrelease: copy trunk to community-staging-any

Added:
  python-shellingham/repos/community-staging-any/
  python-shellingham/repos/community-staging-any/PKGBUILD
    (from rev 1440490, python-shellingham/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-shellingham/repos/community-staging-any/PKGBUILD (from rev 
1440490, python-shellingham/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 04:17:54 UTC (rev 1440491)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Clint Valentine <[email protected]>
+
+_pkgname=shellingham
+pkgname=python-shellingham
+pkgver=1.5.0.post1
+pkgrel=4
+pkgdesc='Detect what shell the current Python executable is running in'
+arch=(any)
+url="https://github.com/sarugaku/${_pkgname}";
+license=(ISC)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools)
+checkdepends=(python-pytest{,-mock})
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('ecc836335bc77e608cd6dc7201e4adfda915f44755593d1001b869ae8caf7be6')
+
+build(){
+       cd "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       PYTHONPATH="$PWD/src" pytest
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

Reply via email to