Date: Monday, October 24, 2022 @ 09:10:10
Author: alucryd
Revision: 458839
archrelease: copy trunk to extra-any
Added:
python-tomli-w/repos/extra-any/PKGBUILD
(from rev 458838, python-tomli-w/trunk/PKGBUILD)
Deleted:
python-tomli-w/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-24 09:09:59 UTC (rev 458838)
+++ PKGBUILD 2022-10-24 09:10:10 UTC (rev 458839)
@@ -1,45 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=python-tomli-w
-pkgver=1.0.0
-pkgrel=4
-pkgdesc="A lil' TOML writer"
-url=https://github.com/hukkin/tomli-w
-license=(MIT)
-arch=(any)
-depends=(python)
-makedepends=(
- git
- python-flit
- python-pip
- python-poetry
-)
-checkdepends=(
- python-pytest
- python-tomli
-)
-_tag=19099125f32e7c491603e393263754262b356956
-source=(git+https://github.com/hukkin/tomli-w.git#tag=${_tag})
-b2sums=(SKIP)
-
-pkgver() {
- cd tomli-w
- git describe --tags
-}
-
-build() {
- cd tomli-w
- python -m flit build --format wheel
-}
-
-check() {
- cd tomli-w
- python -m pytest
-}
-
-package() {
- PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}"
--ignore-installed --no-deps tomli-w/dist/*.whl
- install -Dm 644 tomli-w/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-tomli-w/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-tomli-w/repos/extra-any/PKGBUILD (from rev 458838,
python-tomli-w/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-24 09:10:10 UTC (rev 458839)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-tomli-w
+pkgver=1.0.0
+pkgrel=5
+pkgdesc="A lil' TOML writer"
+url=https://github.com/hukkin/tomli-w
+license=(MIT)
+arch=(any)
+depends=(python)
+makedepends=(
+ git
+ python-build
+ python-flit-core
+ python-installer
+)
+checkdepends=(
+ python-pytest
+ python-tomli
+)
+_tag=19099125f32e7c491603e393263754262b356956
+source=(git+https://github.com/hukkin/tomli-w.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd tomli-w
+ git describe --tags
+}
+
+build() {
+ cd tomli-w
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd tomli-w
+ python -m pytest
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" tomli-w/dist/*.whl
+ install -Dm 644 tomli-w/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-tomli-w/
+}
+
+# vim: ts=2 sw=2 et: