makedeb


python3-inquirer 3.2.4-0


Collection of common interactive command line user interfaces, based on Inquirer.js

Click here to go back to the commit logs for python3-inquirer.

Commit:


Hash: 48d81fe1a7cd750b5b8e859efe76111c990b4fd9

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 574ade6..cda7495 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,22 @@
-pkgbase = python-inquirer
-	pkgdesc = Collection of common interactive command line user interfaces, based on Inquirer.js
-	pkgver = 3.2.4
-	pkgrel = 1
-	url = https://github.com/magmax/python-inquirer
-	arch = any
-	license = MIT
-	makedepends = python-build
-	makedepends = python-installer
-	makedepends = python-poetry-core
-	makedepends = python-wheel
-	depends = python-blessed
-	depends = python-editor
-	depends = python-readchar
-	source = python-inquirer-3.2.4.tar.gz::https://files.pythonhosted.org/packages/source/i/inquirer/inquirer-3.2.4.tar.gz
-	sha256sums = 33b09efc1b742b9d687b540296a8b6a3f773399673321fcc2ab0eb4c109bf9b5
-
-pkgname = python-inquirer
+generated-by = makedeb
+pkgname = python3-inquirer
+pkgbase = python3-inquirer
+pkgdesc = Collection of common interactive command line user interfaces, based on Inquirer.js
+pkgrel = 0
+pkgver = 3.2.4
+url = https://github.com/magmax/python-inquirer
+arch = all
+depends = python3-blessed
+depends = python3-editor
+depends = python3-readchar
+license = MIT
+makedepends = python3-build
+makedepends = python3-installer
+makedepends = python3-poetry-core
+makedepends = python3-wheel
+source = python3-inquirer-3.2.4.tar.gz::https://files.pythonhosted.org/packages/source/i/inquirer/inquirer-3.2.4.tar.gz
+b2sums = bc0cbad51a446e309f64fbda9b14ef5f43d796d87fe1854349c1cff6b05badb5c118f9c405af7438daec7e1afa86b42a66d84b9bc2197dbed6ea30a2ccf3ea9b
+makedepends = python3-build
+makedepends = python3-installer
+makedepends = python3-poetry-core
+makedepends = python3-wheel
diff --git a/.gitignore b/.gitignore
index d3f49d0..9c4e88c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
-*.gz
-*.zst
 pkg/
 src/
+python3-inquirer*
diff --git a/PKGBUILD b/PKGBUILD
index 2866708..c023220 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,37 @@
-# Maintainer: gilcu3 < gilcu3 at gmail dot com >
-# Previous Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: gilcu3 < gilcu3 at gmail dot com >
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
 # Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
 
-pkgname=python-inquirer
-_pkg="${pkgname#python-}"
+pkgname=python3-inquirer
+_pkg="${pkgname#python3-}"
 pkgver=3.2.4
-pkgrel=1
+pkgrel=0
 pkgdesc="Collection of common interactive command line user interfaces, based on Inquirer.js"
-arch=('any')
+arch=('all')
 url='https://github.com/magmax/python-inquirer'
 license=('MIT')
-depends=('python-blessed' 'python-editor' 'python-readchar')
-makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
+depends=('python3-blessed' 'python3-editor' 'python3-readchar')
+makedepends=('python3-build' 'python3-installer' 'python3-poetry-core' 'python3-wheel')
 source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/i/$_pkg/$_pkg-$pkgver.tar.gz")
-sha256sums=('33b09efc1b742b9d687b540296a8b6a3f773399673321fcc2ab0eb4c109bf9b5')
+b2sums=('bc0cbad51a446e309f64fbda9b14ef5f43d796d87fe1854349c1cff6b05badb5c118f9c405af7438daec7e1afa86b42a66d84b9bc2197dbed6ea30a2ccf3ea9b')
 
 build() {
 	cd "$_pkg-$pkgver"
-	python -m build --wheel --no-isolation
+	python3 -m build --wheel --no-isolation
 }
 
 package() {
 	cd "$_pkg-$pkgver"
-	python -m installer --destdir="$pkgdir" dist/*.whl
-	local _site="$(python -c 'import site; print(site.getsitepackages()[0])')"
-	install -dv "$pkgdir/usr/share/licenses/$pkgname/"
-	ln -sv "$_site/$_pkg-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+	python3 -m installer --destdir="$pkgdir" dist/*.whl #--optimize=1 --skip-build
+	# Manual remove local
+	mv "$pkgdir/usr/local/"* "$pkgdir/usr/"
+	rmdir "$pkgdir/usr/local"
+	# wheel BUG
+	cp -R src/inquirer "$pkgdir"/usr/lib/*/dist-packages/
+	#doc
+	#install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+	install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/redme"
+	install -dv "$pkgdir/usr/share/doc/$pkgname/"
+	ln -sv "/usr/lib/python3/dist-packages/$_pkg-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/doc/$pkgname/"
 }