diff options
author | Kaizhao Zhang | 2019-10-20 16:44:08 +0800 |
---|---|---|
committer | Kaizhao Zhang | 2019-10-20 16:49:08 +0800 |
commit | ce38ba32665cc01cf729f25cb43a391dcf77cddd (patch) | |
tree | f2efb65ccecb50432c3804e95a7d69d6aac37388 | |
parent | 7b559f6982c49f4f070e7572c031a8dcd68f3baa (diff) | |
download | aur-ce38ba32665cc01cf729f25cb43a391dcf77cddd.tar.gz |
Updated to version 1.2.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 13 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = python-userpath - pkgdesc = Cross-platform tool for adding locations to the user PATH, no sudo/runas required! - pkgver = 1.1.0 + pkgdesc = Cross-platform tool for adding locations to the user PATH, no elevated privileges required! + pkgver = 1.2.0 pkgrel = 1 url = https://github.com/ofek/userpath arch = any @@ -10,8 +10,8 @@ pkgbase = python-userpath makedepends = python-setuptools depends = python-click options = !emptydirs - source = https://files.pythonhosted.org/packages/24/7b/3b991e87d08211a95bafcadc370cb17e75a7dfb51e6f9ce9247f8cfff4c0/userpath-1.1.0.tar.gz - sha256sums = c4aa4b20298d14272e2a39047a38a7e2195c1d697dd37dec247e2331067e7f31 + source = https://files.pythonhosted.org/packages/source/u/userpath/userpath-1.2.0.tar.gz + sha256sums = 10fa2a90c61546f188989680a9b7510888b976f5d18503ad4482c8f919e783cb pkgname = python-userpath @@ -1,11 +1,12 @@ # Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com> -_srcname=userpath +_name=userpath +_sha256sum=10fa2a90c61546f188989680a9b7510888b976f5d18503ad4482c8f919e783cb pkgname=python-userpath -pkgver=1.1.0 +pkgver=1.2.0 pkgrel=1 -pkgdesc="Cross-platform tool for adding locations to the user PATH, no sudo/runas required!" +pkgdesc="Cross-platform tool for adding locations to the user PATH, no elevated privileges required!" arch=('any') url="https://github.com/ofek/userpath" license=('MIT' 'APACHE') @@ -15,25 +16,25 @@ depends=( makedepends=('python' 'python-setuptools') options=(!emptydirs) source=( - "https://files.pythonhosted.org/packages/24/7b/3b991e87d08211a95bafcadc370cb17e75a7dfb51e6f9ce9247f8cfff4c0/userpath-${pkgver}.tar.gz" + "https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz" ) sha256sums=( - 'c4aa4b20298d14272e2a39047a38a7e2195c1d697dd37dec247e2331067e7f31' + "${_sha256sum}" ) prepare() { - cd "${srcdir}/${_srcname}-${pkgver}" + cd "${srcdir}/${_name}-${pkgver}" # no need to include tests files rm tests/__init__.py } build() { - cd "${srcdir}/${_srcname}-${pkgver}" + cd "${srcdir}/${_name}-${pkgver}" python setup.py build } package() { - cd "${srcdir}/${_srcname}-${pkgver}" + cd "${srcdir}/${_name}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst" install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT" |