diff options
author | txtsd | 2024-03-07 13:06:16 +0530 |
---|---|---|
committer | txtsd | 2024-03-07 13:06:16 +0530 |
commit | 2dd51aa912e775a836692ff0212110e5feffe544 (patch) | |
tree | 6f8ca371a1d5abe45d5e272133da35038527d311 /PKGBUILD | |
parent | 0a430080d44f1eee262ef0a115fed7fa43795437 (diff) | |
download | aur-2dd51aa912e775a836692ff0212110e5feffe544.tar.gz |
upgpkg: python-baycomp 1.0.3-3
Use generic pypi source url
Signed-off-by: txtsd <code@ihavea.quest>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,7 +3,7 @@ pkgname=python-baycomp pkgver=1.0.3 -pkgrel=2 +pkgrel=3 pkgdesc='Library for Bayesian comparison of classifiers' url='https://pypi.org/project/baycomp' arch=('any') @@ -11,7 +11,9 @@ license=('MIT') makedepends=('python-setuptools') depends=('python-scipy>=0.19.1' 'python-matplotlib>=2.1.2' 'python-numpy>=1.13.1') optdepends=('python-pystan>=3.4.0') -source=("https://pypi.org/packages/source/b/baycomp/baycomp-${pkgver}.tar.gz") +_module="${pkgname#python-}" +_src_name="${_module/-/_}-${pkgver}" +source=("https://pypi.org/packages/source/${_module::1}/${_module}/${_src_name}.tar.gz") sha256sums=('32b25ad7b16d5b251ddb9f6110a32d7b3953b987096da1d25ef277935d25daec') prepare() { |