[arch-commits] Commit in python-confuse (3 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Jan 13 13:38:32 UTC 2021
Date: Wednesday, January 13, 2021 @ 13:38:31
Author: alucryd
Revision: 820458
archrelease: copy trunk to community-any
Added:
python-confuse/repos/
python-confuse/repos/community-any/
python-confuse/repos/community-any/PKGBUILD
(from rev 820457, python-confuse/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: python-confuse/repos/community-any/PKGBUILD (from rev 820457, python-confuse/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2021-01-13 13:38:31 UTC (rev 820458)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Mubashshir <ahmubashshir at gmail.com>
+# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
+
+pkgname=python-confuse
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Painless YAML config files for Python'
+arch=(any)
+url=https://github.com/beetbox/confuse
+license=(MIT)
+depends=(python-yaml)
+makedepends=(
+ git
+ python-flit
+ python-pip
+ python-poetry
+)
+checkdepends=(python-nose)
+_tag=ca66969c95d7647eb391cad0ce69075012a51777
+source=(git+https://github.com/beetbox/confuse.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd confuse
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd confuse
+ flit build --format wheel
+}
+
+check() {
+ cd confuse
+ python -m nose
+}
+
+package() {
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps confuse/dist/*.whl
+ install -Dm 644 confuse/LICENSE -t "${pkgdir}"/usr/share/licenses/python-confuse/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list