Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Maintainer: Yukari Chiba <i@0x7f.cc>

pkgname=python-validate-pyproject
pkgver=0.24.1
pkgrel=2
pkgver=0.25
pkgrel=1
pkgdesc="Validation library and CLI tool for checking on 'pyproject.toml' files using JSON Schema"
url="https://github.com/abravalheri/validate-pyproject"
license=('MPL-2.0')
arch=('any')
depends=('python-packaging' 'python-fastjsonschema' 'python-trove-classifiers')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm')
checkdepends=('python-pytest')
# 0001: https://github.com/abravalheri/validate-pyproject/pull/225
# Fix tests failing due to missing partial-pdm-dockerize.json schema
source=("git+https://github.com/abravalheri/validate-pyproject.git#tag=v$pkgver"
"0001-fix-tests-failing-due-to-missing.patch")
sha512sums=('91b80c489819804d3b1cd01b481c71153c81ffacb9b15e92d9c5919596199fe5a579f4fd6722b93398a1fd02a53b14457473d766674a1130be6e9d56e80f6522'
'4a562557695923a1ce451a0359173ac243a61cf7f2b770e20f7530d207cbe12705688046fe066d683478c555a2b090a6fd393b2291f2e16324f2dc379a33be12')
source=(
"git+https://github.com/abravalheri/validate-pyproject.git#tag=v$pkgver"
"relative-url-fix.patch::https://github.com/abravalheri/validate-pyproject/commit/fd3e7e79a0c59df66d27562199256d490cfc47f9.patch"
)
sha512sums=('9754c5d1a01a6296c5859ef69e7bb53ea4ea027902229372c245c436717a31be08ae3c6685896ca5214718a362376744874f9d41b155afc7020ac4be96335138'
'50404234555b6afe97a73bf6aa4038a2126640fa1dd0b78061701091844c46f1941410b2063d64216b515f509f3439ef59985314eeb57cd556c1caf4a23eff56')

prepare() {
# relative-url-fix.patch: https://github.com/abravalheri/validate-pyproject/pull/306
_patch_ validate-pyproject
}

Expand Down