Date: Friday, April 28, 2023 @ 09:24:46
Author: alerque
Revision: 1449071
archrelease: copy trunk to community-staging-x86_64
Added:
python-lupa/repos/community-staging-x86_64/PKGBUILD
(from rev 1449070, python-lupa/trunk/PKGBUILD)
Deleted:
python-lupa/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++----------------------------------
1 file changed, 35 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-28 09:24:36 UTC (rev 1449070)
+++ PKGBUILD 2023-04-28 09:24:46 UTC (rev 1449071)
@@ -1,42 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=lupa
-pkgname=python-lupa
-pkgver=1.14.1
-pkgrel=2
-pkgdesc='Python wrapper around Lua and LuaJIT'
-arch=(x86_64)
-url="https://github.com/scoder/$_pkgname"
-license=(MIT)
-depends=(lua python)
-makedepends=(python-{build,installer,wheel}
- python-setuptools)
-_archive="$_pkgname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
-sha256sums=('d0fd4e60ad149fe25c90530e2a0e032a42a6f0455f29ca0edb8170d6ec751c6e')
-
-prepare() {
- cd "$_archive"
- # --no-bundle is not removed from argv if lua is properly detected, so
the
- # only working safety net is to rm the bundled sources
- rm -rf third-party
-}
-
-build() {
- cd "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive"
- local _pyver=cpython-$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
- cd "$PWD/build/lib.linux-$CARCH-$_pyver"
- python -m unittest discover
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
-}
Copied: python-lupa/repos/community-staging-x86_64/PKGBUILD (from rev 1449070,
python-lupa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-28 09:24:46 UTC (rev 1449071)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=lupa
+pkgname=python-lupa
+pkgver=2.0
+pkgrel=2
+pkgdesc='Python wrapper around Lua and LuaJIT'
+arch=(x86_64)
+url="https://github.com/scoder/$_pkgname"
+license=(MIT)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
+sha256sums=('ad3fef486be7adddd349fe9a9c393789061312cf98ebc533b489be34f484cb79')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ local _pyver=cpython-$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ cd "$PWD/build/lib.linux-$CARCH-$_pyver"
+ python -m unittest discover
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}