[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Mar 14 12:37:46 UTC 2020
Date: Saturday, March 14, 2020 @ 12:37:45
Author: dvzrv
Revision: 596728
archrelease: copy trunk to community-any
Added:
pyenv/repos/community-any/PKGBUILD
(from rev 596727, pyenv/trunk/PKGBUILD)
Deleted:
pyenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-14 12:37:40 UTC (rev 596727)
+++ PKGBUILD 2020-03-14 12:37:45 UTC (rev 596728)
@@ -1,58 +0,0 @@
-# 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"
-}
Copied: pyenv/repos/community-any/PKGBUILD (from rev 596727, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-14 12:37:45 UTC (rev 596728)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pyenv
+pkgver=1.2.17
+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=('ed88268887f99ca9974db3efe539e8e035790d5123cfe0b12d845cd4fccb797566f955e6069b9a51e1f32e494c7e43151423854cc810a62c4637cc801d443b18')
+
+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/vendor_completions.d/"
+ 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