Date: Monday, October 24, 2022 @ 08:40:29
Author: alucryd
Revision: 1334522
archrelease: copy trunk to community-any
Added:
python-confuse/repos/community-any/PKGBUILD
(from rev 1334521, python-confuse/trunk/PKGBUILD)
Deleted:
python-confuse/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-24 08:40:19 UTC (rev 1334521)
+++ PKGBUILD 2022-10-24 08:40:29 UTC (rev 1334522)
@@ -1,44 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: Mubashshir <[email protected]>
-# Contributor: Frederik “Freso” S. Olesen <[email protected]>
-
-pkgname=python-confuse
-pkgver=2.0.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=46504692f9f6c26e248a90243062ccca1fd29992
-source=(git+https://github.com/beetbox/confuse.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd confuse
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd confuse
- python -m 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:
Copied: python-confuse/repos/community-any/PKGBUILD (from rev 1334521,
python-confuse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-24 08:40:29 UTC (rev 1334522)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Mubashshir <[email protected]>
+# Contributor: Frederik “Freso” S. Olesen <[email protected]>
+
+pkgname=python-confuse
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Painless YAML config files for Python'
+arch=(any)
+url=https://github.com/beetbox/confuse
+license=(MIT)
+depends=(python-yaml)
+makedepends=(
+ git
+ python-build
+ python-flit-core
+ python-installer
+)
+checkdepends=(python-nose)
+_tag=46504692f9f6c26e248a90243062ccca1fd29992
+source=(git+https://github.com/beetbox/confuse.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd confuse
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd confuse
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd confuse
+ python -m nose
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" confuse/dist/*.whl
+ install -Dm 644 confuse/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-confuse/
+}
+
+# vim: ts=2 sw=2 et: