[arch-commits] Commit in python-dictpath/repos (community-any community-any/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Mar 29 07:11:54 UTC 2022
Date: Tuesday, March 29, 2022 @ 07:11:54
Author: arojas
Revision: 1177515
archrelease: copy trunk to community-any
Added:
python-dictpath/repos/community-any/
python-dictpath/repos/community-any/PKGBUILD
(from rev 1177514, python-dictpath/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-dictpath/repos/community-any/PKGBUILD (from rev 1177514, python-dictpath/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-03-29 07:11:54 UTC (rev 1177515)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-dictpath
+_pipname=dictpath
+pkgver=0.1.3
+pkgrel=1
+pkgdesc='Object-oriented dictionary paths'
+arch=(any)
+url='https://github.com/p1c2u/dictpath'
+license=(BSD)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-cov python-pytest-flake8)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('751cde3b76b176d25f961b90c423a11a4d5ede9bd09ab0d64a85abb738c190d8')
+
+build() {
+ cd $_pipname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pipname-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd $_pipname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list