Browse Source

[testing] -> [extra] 'python-tomli-w-0.4.0-3' move

master
artoo 7 months ago
parent
commit
333f1888a9
  1. 2
      x86_64/extra/PKGBUILD
  2. 45
      x86_64/testing/PKGBUILD

2
x86_64/extra/PKGBUILD

@ -2,7 +2,7 @@
pkgname=python-tomli-w
pkgver=0.4.0
pkgrel=1
pkgrel=3
pkgdesc="A lil' TOML writer"
url=https://github.com/hukkin/tomli-w
license=(MIT)

45
x86_64/testing/PKGBUILD

@ -1,45 +0,0 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=python-tomli-w
pkgver=0.4.0
pkgrel=3
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=22874ff44581f34810e6f19fb6f682ca39fe0fce
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:
Loading…
Cancel
Save