Date: Thursday, May 20, 2021 @ 00:17:42 Author: felixonmars Revision: 937294
upgpkg: python-tomlkit 0.7.1-1 Modified: python-tomlkit/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-05-20 00:17:36 UTC (rev 937293) +++ PKGBUILD 2021-05-20 00:17:42 UTC (rev 937294) @@ -3,8 +3,9 @@ _pkgname=tomlkit pkgname=python-tomlkit -pkgver=0.7.0 -pkgrel=3 +pkgver=0.7.1 +_testcommit=f910e151d1b14d94b1e8a4264db0814fb03520d9 +pkgrel=1 pkgdesc="Style-preserving TOML library for Python" url="https://github.com/sdispater/tomlkit" license=('MIT') @@ -12,8 +13,10 @@ depends=('python') makedepends=('python-dephell') checkdepends=('python-pytest' 'python-yaml') -source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha512sums=('1483dbc3a8cf87257d592b5af97a66449133337b5a6f709d997054861615527510338fa27f048b27a69611782bd35a126c750eee465301d92e83cd2a8e45c5a5') +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" + https://github.com/BurntSushi/toml-test/archive/$_testcommit/toml-test-$_testcommit.tar.gz) +sha512sums=('a62b49e7ec37a2cdb13f7de83ffca734fdf53d5ade7b666194f62d6fb7ccc3df0533c4c5c8585b3213ed9886ab495107f457607c9f29ec9b3d1ced042a0e2b03' + '49431bf72cd5b40b6732eec75b2ea25d349df4f76c84a7fc51443f55712c47b0ae0f7a049d7ae19f328ca504ded1f6df00861c725dcfdbeaac07c3bd999c5f3b') prepare() { cd tomlkit-$pkgver @@ -22,6 +25,9 @@ # distribution of tests in the built package as well as using distutils for # bad metadata. See https://github.com/sdispater/poetry/issues/866 dephell deps convert --from pyproject.toml --to setup.py + + # Since 0.7.1 toml-test is no longer included in pypi tarball + ln -s "$srcdir"/toml-test-$_testcommit tests/toml-test } build() {
