diff options
-rw-r--r-- | user/py3-ptyprocess/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/user/py3-ptyprocess/APKBUILD b/user/py3-ptyprocess/APKBUILD index c9a5316a9..80850e290 100644 --- a/user/py3-ptyprocess/APKBUILD +++ b/user/py3-ptyprocess/APKBUILD @@ -1,7 +1,10 @@ # Contributor: Sheila Aman <sheila@vulpine.house> # Maintainer: Sheila Aman <sheila@vulpine.house> pkgname=py3-ptyprocess -pkgver=0.6.0 +_pkgname=${pkgname#*-} +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=0.7.0 pkgrel=0 pkgdesc="Python library for using pseudo-terminals (ptys)" url="https://github.com/pexpect/ptyprocess" @@ -9,7 +12,7 @@ arch="noarch" license="ISC" depends="python3" makedepends="" -source="https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/ptyprocess-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/ptyprocess-$pkgver" build() { @@ -24,4 +27,4 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="b34b6bca977f09d1443b210e338e1300e12d6ef35857f9543b3a116ef3b500ad4844357a7a283321756f886af41bddb1f02b27bf200ef1e82a96fd9e431bed86 ptyprocess-0.6.0.tar.gz" +sha512sums="791d8f2e79900627215ce80ce67ee9c79173dbc08297c6219d5058f9b80c5e323b93049e6836a70c4073f43548d22e3cf310f2e9948ef12f96bcaa15b0ddb2f3 py3-ptyprocess-0.7.0.tar.gz" |