[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Jan 6 13:36:36 UTC 2020
Date: Monday, January 6, 2020 @ 13:36:36
Author: dvzrv
Revision: 549737
archrelease: copy trunk to community-any
Added:
pyenv/repos/community-any/PKGBUILD
(from rev 549736, pyenv/trunk/PKGBUILD)
Deleted:
pyenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-06 13:36:30 UTC (rev 549736)
+++ PKGBUILD 2020-01-06 13:36:36 UTC (rev 549737)
@@ -1,58 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=pyenv
-pkgver=1.2.15
-pkgrel=1
-pkgdesc="Easily switch between multiple versions of Python"
-arch=('any')
-url="https://github.com/pyenv/pyenv"
-license=('MIT')
-depends=('bash')
-optdepends=('git: installing development versions')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('c11300578e18ed07650534c2153d153cae5e7996f18c562d20644c43b4b1fec876ffd57287b2caa61ae49a8b7887411dc0b4700291a898e0f6dc9cbb5af7afb4')
-
-package() {
- cd "$pkgname-$pkgver"
- # application
- install -vDm 755 libexec/* -t "${pkgdir}/usr/share/${pkgname}/libexec"
- install -vdm 755 "${pkgdir}/usr/bin"
- ln -sv "/usr/share/${pkgname}/libexec/${pkgname}" \
- "${pkgdir}/usr/bin/${pkgname}"
- # application hooks
- install -vDm 755 pyenv.d/exec/pip-rehash/* \
- -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/exec/pip-rehash"
- install -vDm 644 pyenv.d/exec/*.bash \
- -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/exec/"
- install -vDm 644 pyenv.d/rehash/*.bash \
- -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash"
- install -vDm 644 pyenv.d/rehash/conda.d/* \
- -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash/conda.d"
- install -vDm 644 pyenv.d/rehash/source.d/* \
- -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash/source.d"
- # plugin
- install -vDm 755 plugins/python-build/bin/* \
- -t "${pkgdir}/usr/share/${pkgname}/plugins/python-build/bin"
- for bin in {${pkgname}-{install,uninstall},python-build}; do
- ln -sv "/usr/share/${pkgname}/plugins/python-build/bin/${bin}" \
- "${pkgdir}/usr/bin/${bin}"
- done
- cp -av plugins/python-build/share \
- "${pkgdir}/usr/share/${pkgname}/plugins/python-build"
- # licenses
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 plugins/python-build/LICENSE \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.python-build"
- # shell completion
- install -vDm 644 completions/*.fish \
- -t "${pkgdir}/usr/share/fish/completions/"
- install -vDm 644 completions/${pkgname}.bash \
- "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
- install -vDm 644 completions/${pkgname}.zsh \
- "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
- # docs
- install -vDm 644 {CHANGELOG,COMMANDS,README}.md \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 plugins/python-build/README.md \
- "${pkgdir}/usr/share/doc/${pkgname}/README-python-build.md"
-}
Copied: pyenv/repos/community-any/PKGBUILD (from rev 549736, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-06 13:36:36 UTC (rev 549737)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pyenv
+pkgver=1.2.16
+pkgrel=1
+pkgdesc="Easily switch between multiple versions of Python"
+arch=('any')
+url="https://github.com/pyenv/pyenv"
+license=('MIT')
+depends=('bash')
+optdepends=('git: installing development versions')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('fca960b3ffa20e7b476dd469263dc6e6debb31f4fcdaaa1c6f51ff0d367a42e81b8a25ba60fc6e026eaa44d86d9b950b53f870ffdca178634367e08dc93ee0c4')
+
+package() {
+ cd "$pkgname-$pkgver"
+ # application
+ install -vDm 755 libexec/* -t "${pkgdir}/usr/share/${pkgname}/libexec"
+ install -vdm 755 "${pkgdir}/usr/bin"
+ ln -sv "/usr/share/${pkgname}/libexec/${pkgname}" \
+ "${pkgdir}/usr/bin/${pkgname}"
+ # application hooks
+ install -vDm 755 pyenv.d/exec/pip-rehash/* \
+ -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/exec/pip-rehash"
+ install -vDm 644 pyenv.d/exec/*.bash \
+ -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/exec/"
+ install -vDm 644 pyenv.d/rehash/*.bash \
+ -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash"
+ install -vDm 644 pyenv.d/rehash/conda.d/* \
+ -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash/conda.d"
+ install -vDm 644 pyenv.d/rehash/source.d/* \
+ -t "${pkgdir}/usr/share/${pkgname}/pyenv.d/rehash/source.d"
+ # plugin
+ install -vDm 755 plugins/python-build/bin/* \
+ -t "${pkgdir}/usr/share/${pkgname}/plugins/python-build/bin"
+ for bin in {${pkgname}-{install,uninstall},python-build}; do
+ ln -sv "/usr/share/${pkgname}/plugins/python-build/bin/${bin}" \
+ "${pkgdir}/usr/bin/${bin}"
+ done
+ cp -av plugins/python-build/share \
+ "${pkgdir}/usr/share/${pkgname}/plugins/python-build"
+ # licenses
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 plugins/python-build/LICENSE \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.python-build"
+ # shell completion
+ install -vDm 644 completions/*.fish \
+ -t "${pkgdir}/usr/share/fish/completions/"
+ install -vDm 644 completions/${pkgname}.bash \
+ "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+ install -vDm 644 completions/${pkgname}.zsh \
+ "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ # docs
+ install -vDm 644 {CHANGELOG,COMMANDS,README}.md \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 plugins/python-build/README.md \
+ "${pkgdir}/usr/share/doc/${pkgname}/README-python-build.md"
+}
More information about the arch-commits
mailing list