[arch-commits] Commit in python-tomlkit/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Oct 28 21:51:10 UTC 2019
Date: Monday, October 28, 2019 @ 21:51:03
Author: eschwartz
Revision: 520868
python-tomlkit: move to PyPI sources, which come with testdata
Modified:
python-tomlkit/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-28 21:27:29 UTC (rev 520867)
+++ PKGBUILD 2019-10-28 21:51:03 UTC (rev 520868)
@@ -1,9 +1,9 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+_pkgname=tomlkit
pkgname=python-tomlkit
pkgver=0.5.8
-_tomltestcommit=f910e151d1b14d94b1e8a4264db0814fb03520d9
pkgrel=1
pkgdesc="Style-preserving TOML library for Python"
url="https://github.com/sdispater/tomlkit"
@@ -12,16 +12,12 @@
depends=('python')
makedepends=('python-dephell')
checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sdispater/tomlkit/archive/$pkgver.tar.gz"
- "toml-test-$_tomltestcommit.tar.gz::https://github.com/BurntSushi/toml-test/archive/$_tomltestcommit.tar.gz")
-sha512sums=('b62b8f50ed75d798e79d26d5f0cd1334d5f8b39bec544659758fbb8cf2c0991e850047f713ac21338bf642ac3a482cf5461eeb92e332fac4924136a910e46e1c'
- '49431bf72cd5b40b6732eec75b2ea25d349df4f76c84a7fc51443f55712c47b0ae0f7a049d7ae19f328ca504ded1f6df00861c725dcfdbeaac07c3bd999c5f3b')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('e224ad4522279ea94977eb60739d2a43ddbb2d60bac5d00eaa0a93e06cded14eb030c3438ec4be982437c75cc317d89c674fc9e00239e12f41a4ac57285be3e1')
prepare() {
cd tomlkit-$pkgver
dephell deps convert --from pyproject.toml --to setup.py
- rmdir tests/toml-test
- ln -s "$srcdir"/toml-test-$_tomltestcommit tests/toml-test
}
build() {
More information about the arch-commits
mailing list