[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Apr 3 07:54:02 UTC 2020
Date: Friday, April 3, 2020 @ 07:54:02
Author: dvzrv
Revision: 610800
archrelease: copy trunk to community-any
Added:
pyenv/repos/community-any/PKGBUILD
(from rev 610799, pyenv/trunk/PKGBUILD)
Deleted:
pyenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-03 07:53:57 UTC (rev 610799)
+++ PKGBUILD 2020-04-03 07:54:02 UTC (rev 610800)
@@ -1,58 +0,0 @@
-# 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"
-}
Copied: pyenv/repos/community-any/PKGBUILD (from rev 610799, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-03 07:54:02 UTC (rev 610800)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pyenv
+pkgver=1.2.18
+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=('4273e23a28b4aafc1b5ad0e39bc5a48131ee7d629adb294c4731b87b3a436cd42e849a8f17943dd40714ca48501a3d85e6f97187ff7687cace6813d853aed775')
+
+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