Date: Thursday, July 21, 2022 @ 10:04:49 Author: dvzrv Revision: 1254990
upgpkg: python-pdm 2.0.2-1: Upgrade to 2.0.2. Remove all devendoring efforts, as upstream does not vendor anymore (yay). Modified: python-pdm/trunk/PKGBUILD ----------+ PKGBUILD | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-21 09:59:46 UTC (rev 1254989) +++ PKGBUILD 2022-07-21 10:04:49 UTC (rev 1254990) @@ -3,8 +3,8 @@ _name=pdm pkgname=python-pdm # WARNING: vendored libs may change in patch level versions... -pkgver=1.15.4 -pkgrel=2 +pkgver=2.0.2 +pkgrel=1 pkgdesc="A modern Python package manager with PEP 582 support" arch=(any) url="https://github.com/pdm-project/pdm" @@ -11,6 +11,7 @@ license=(MIT) depends=( python-blinker + python-cachecontrol python-click python-dotenv python-findpython @@ -20,44 +21,23 @@ python-pep517 python-pip python-platformdirs + python-requests-toolbelt python-resolvelib + python-rich python-shellingham python-tomli python-tomlkit + python-unearth + python-virtualenv python-wheel ) -# packages devendored from pdm sources -depends+=( - python-colorama - python-halo - python-log_symbols -) -# packages devendored from pip sources -depends+=( - python-html5lib - python-requests - python-setuptools -) - makedepends=(python-build) checkdepends=(python-pytest python-pytest-mock python-pytest-xdist) optdepends=('python-keyring: for storing credentials') -source=( - https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz - $pkgname-1.15.4-devendor.patch -) -sha512sums=('35e32d6ccb2e4aa874f413e3d5f3a92c772a7ee6d7dd3f75a40ae082148cfb389585a1371e130ebdbc75ec25180d5f525177012198342e3ece354bfc799735e1' - 'e878faa0e92847084788fb146bade64b0f99de1c74e85e1c6585e3f0b27fa5f643a0e3d177a370e3274fcc818b85270c112ee9484b2d5db5f59331cd55e22d50') -b2sums=('e2c2e3437ee290aa849b1e04e51932fe58af1c77581a37a53b2885db6fc622c819688e222b2ef889192a62c2552a3f180fa3924f9c688f72ad79c5ee16180d03' - 'a1345e217b6c0bc468f47c9ed4c8e0d4751b6bf2f6d88de91e35bd22f6df3888a0bda6d8f9f84b6a1085d6ed82a1b6be3efc8cdbb9fa367b0d3d42dfa2d68027') +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha512sums=('054457765343de220cd12c404378cbfaacabc0f2ef93d4c730e4e390fdd92a61968682fcc7de3782f8bc37e3121a15624af200703404b2e1ea6b8124fb85f386') +b2sums=('b02bafa4cfed5f45e5ae8ff5f810fc2c61a950485dae604e59b2d1b48c7cfcc77871afc6b1aaf56a82b762d2bc29228ae02e748d229d5078fbb18280653ca504') -prepare() { - # devendor bundled libraries - patch -Np1 -d $_name-$pkgver -i ../$pkgname-1.15.4-devendor.patch - # remove vendor dir as we use system dependencies - rm -frv $_name-$pkgver/pdm/_vendor -} - build() { cd $_name-$pkgver export PDM_PEP517_SCM_VERSION=$pkgver
