diff options
author | Marc Demierre | 2017-01-17 10:00:08 +0100 |
---|---|---|
committer | Marc Demierre | 2017-01-17 10:00:08 +0100 |
commit | e4876cefe8fd32a65f5554a2302e85a5d4c60ab3 (patch) | |
tree | c1e1860b60a3072b2f615f5a96994932b38fb87c | |
parent | 2344c90f3bd5e5ea31a146e3f96eeb7025690853 (diff) | |
download | aur-e4876cefe8fd32a65f5554a2302e85a5d4c60ab3.tar.gz |
pyenv-virtualenv v1.0.0
- Upstream v1.0.0
- 'epoch' set to '1' because of upstream versioning scheme change
- Switch to tar.gz source and sha256 checksum
- Copy LICENSE correctly
- Update maintainer
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 23 insertions, 9 deletions
@@ -1,13 +1,15 @@ pkgbase = pyenv-virtualenv pkgdesc = pyenv plugin to manage virtualenv (a.k.a. python-virtualenv) - pkgver = 20151103 + pkgver = 1.0.0 pkgrel = 1 + epoch = 1 url = https://github.com/yyuu/pyenv-virtualenv arch = any license = MIT depends = pyenv - source = https://github.com/yyuu/pyenv-virtualenv/archive/v20151103.zip - md5sums = a24ff32f55b4d9e7e3c130b0944d8f29 + depends = bash + source = https://github.com/yyuu/pyenv-virtualenv/archive/v1.0.0.tar.gz + sha256sums = 3523129c24ca3ad2cf130885ef9801cb066b04eabc354ee2c38c486b8b726f15 pkgname = pyenv-virtualenv diff --git a/.gitignore b/.gitignore index c4c4ffc6aa41..d1239a9e67c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ -*.zip +# Sources +src/ +*.tar.gz + +# Built package +pkg/ +*.pkg.tar.xz
\ No newline at end of file @@ -1,14 +1,16 @@ -# Maintainer: Nuno Araujo <nuno.araujo@russo79.com> +# Maintainer: Marc Demierre <marc.demierre@gmail.com> +# Contributor: Nuno Araujo <nuno.araujo@russo79.com> pkgname=pyenv-virtualenv -pkgver=20151103 +pkgver=1.0.0 pkgrel=1 +epoch=1 pkgdesc="pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)" arch=('any') url="https://github.com/yyuu/pyenv-virtualenv" license=('MIT') -depends=('pyenv') -source=("https://github.com/yyuu/$pkgname/archive/v$pkgver.zip") -md5sums=('a24ff32f55b4d9e7e3c130b0944d8f29') +depends=('pyenv' 'bash') +source=("https://github.com/yyuu/$pkgname/archive/v$pkgver.tar.gz") +sha256sums=('3523129c24ca3ad2cf130885ef9801cb066b04eabc354ee2c38c486b8b726f15') package() { mkdir -p "${pkgdir?}"/{opt/pyenv/plugins/pyenv-virtualenv,usr/bin} @@ -18,5 +20,9 @@ package() { for bin in $pkgdir/opt/pyenv/plugins/pyenv-virtualenv/bin/*; do ln -s /opt/pyenv/plugins/pyenv-virtualenv/bin/"$(basename $bin)" "$pkgdir/usr/bin/$(basename $bin)" done + + # License + mkdir -p "$pkgdir"/usr/share/licenses/pyenv-virtualenv + cp LICENSE "$pkgdir"/usr/share/licenses/pyenv-virtualenv } |