[arch-commits] Commit in python-hatch-fancy-pypi-readme (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 29 19:01:00 UTC 2022


    Date: Monday, August 29, 2022 @ 19:01:00
  Author: arojas
Revision: 1285570

archrelease: copy trunk to community-any

Added:
  python-hatch-fancy-pypi-readme/repos/
  python-hatch-fancy-pypi-readme/repos/community-any/
  python-hatch-fancy-pypi-readme/repos/community-any/PKGBUILD
    (from rev 1285569, python-hatch-fancy-pypi-readme/trunk/PKGBUILD)

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

Copied: python-hatch-fancy-pypi-readme/repos/community-any/PKGBUILD (from rev 1285569, python-hatch-fancy-pypi-readme/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2022-08-29 19:01:00 UTC (rev 1285570)
@@ -0,0 +1,31 @@
+# Maintainer:
+
+pkgname=python-hatch-fancy-pypi-readme
+pkgver=22.3.0
+pkgrel=1
+pkgdesc='Fancy PyPI READMEs with Hatch'
+arch=(any)
+url='https://github.com/hynek/hatch-fancy-pypi-readme'
+license=(MIT)
+depends=(python-hatchling)
+makedepends=(python-build python-installer)
+checkdepends=(python-pytest python-wheel)
+source=(https://github.com/hynek/hatch-fancy-pypi-readme/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('3a51bbe0eb5044f012083ce2954e0875116553429289d29712b824defe90fab0')
+
+build() {
+  cd hatch-fancy-pypi-readme-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd hatch-fancy-pypi-readme-$pkgver
+  PYTHONPATH="$PWD"/src \
+  pytest -v
+}
+
+package() {
+  cd hatch-fancy-pypi-readme-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list