[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at gemini.archlinux.org
Fri Aug 19 21:30:25 UTC 2022


    Date: Friday, August 19, 2022 @ 21:30:25
  Author: anthraxx
Revision: 1270995

addpkg: python-ana 0.06-1

Added:
  python-ana/
  python-ana/repos/
  python-ana/trunk/
  python-ana/trunk/PKGBUILD

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

Added: python-ana/trunk/PKGBUILD
===================================================================
--- python-ana/trunk/PKGBUILD	                        (rev 0)
+++ python-ana/trunk/PKGBUILD	2022-08-19 21:30:25 UTC (rev 1270995)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pyname=ana
+pkgname=python-${_pyname}
+pkgver=0.06
+pkgrel=1
+pkgdesc='Python module to provide easy distributed data storage'
+url='https://github.com/zardus/ana'
+arch=('any')
+license=('custom:BSD2')
+depends=('python' 'python-future')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+sha512sums=('d4944f96379d399040e191d3058d35e5e7ca2cd7193b8dfb3b7b78e0dbf26c8c5dc48acb7c570e51fead0387ee708246de8cf9231ef35028bdd7686f732df875')
+b2sums=('a94c37c2bd845b4f2f5402296487c4c29ff5f7f3a1b88b3a77a24add48efc5364bf0f07705a9db72e6d34579bece535ac3b230f173da3b262a50f4bf48dcc02c')
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "${_pyname}-${pkgver}"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list