Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-pooch
Commits: c6416bc9 by Antonio Rojas at 2024-11-27T22:41:03+01:00 upgpkg: 1.8.2-2 - - - - - e4138586 by Antonio Rojas at 2024-11-27T22:43:40+01:00 Exclude doc dir from wheel Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/python-pooch/-/issues/1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-pooch pkgdesc = Python library for fetching and caching data files pkgver = 1.8.2 - pkgrel = 1 + pkgrel = 3 url = https://www.fatiando.org/pooch/latest/ arch = any license = LicenseRef-pooch @@ -19,6 +19,8 @@ pkgbase = python-pooch optdepends = python-paramiko: for SFTP downloads optdepends = python-tqdm: for printing a download progress bar source = git+https://github.com/fatiando/pooch#tag=v1.8.2 + source = https://github.com/fatiando/pooch/commit/96bd5437.patch sha256sums = f297312c457a5201ba95afbe47e4ac848d04460a61fa631cae412dd0ce3cb41a + sha256sums = ae8db79fa3c5fec2e7321691df7fb5fcdd045d50eaa4a856b2e1e0fea430c964 pkgname = python-pooch ===================================== PKGBUILD ===================================== @@ -5,7 +5,7 @@ pkgname=python-pooch _pyname=pooch pkgver=1.8.2 -pkgrel=1 +pkgrel=3 pkgdesc='Python library for fetching and caching data files' arch=(any) url='https://www.fatiando.org/pooch/latest/' @@ -23,11 +23,19 @@ makedepends=(git python-wheel) checkdepends=(python-pytest python-pytest-httpserver) -source=(git+https://github.com/fatiando/pooch#tag=v$pkgver) -sha256sums=('f297312c457a5201ba95afbe47e4ac848d04460a61fa631cae412dd0ce3cb41a') +source=(git+https://github.com/fatiando/pooch#tag=v$pkgver + https://github.com/fatiando/pooch/commit/96bd5437.patch) +sha256sums=('f297312c457a5201ba95afbe47e4ac848d04460a61fa631cae412dd0ce3cb41a' + 'ae8db79fa3c5fec2e7321691df7fb5fcdd045d50eaa4a856b2e1e0fea430c964') + +prepare() { + cd $_pyname + patch -p1 -i ../96bd5437.patch # Exclude doc dir from wheel +} build() { cd $_pyname + SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \ python -m build --wheel --no-isolation } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pooch/-/compare/05511696928f62704650d705745f2f7d3155fc16...e4138586391ef18339dfe73e368b05a5483816d8 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pooch/-/compare/05511696928f62704650d705745f2f7d3155fc16...e4138586391ef18339dfe73e368b05a5483816d8 You're receiving this email because of your account on gitlab.archlinux.org.
