[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Oct 9 13:17:51 UTC 2020
Date: Friday, October 9, 2020 @ 13:17:51
Author: dvzrv
Revision: 722466
archrelease: copy trunk to community-any
Added:
pyenv/repos/community-any/PKGBUILD
(from rev 722465, pyenv/trunk/PKGBUILD)
Deleted:
pyenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-09 13:17:33 UTC (rev 722465)
+++ PKGBUILD 2020-10-09 13:17:51 UTC (rev 722466)
@@ -1,59 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=pyenv
-pkgver=1.2.20
-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=('5912ab9be7b10382f2b245101b75f44e467e656f6e88c460a043cb3a62bbf9a35d36042519bca49217429001a66c49c6fd0258c29eddfc145322502f11fe3015')
-b2sums=('76f1c9280f3ae0fbec11c51a7248402424b0d707fe8aa2b3b691f970bf1a605d6a38f9ad6b36ba09667abb87906b4f2146feb59e5236775579b8a83ac6137b7a')
-
-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 722465, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-09 13:17:51 UTC (rev 722466)
@@ -0,0 +1,59 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pyenv
+pkgver=1.2.21
+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=('92ae3a265bfe04b7034ef3a59404d6be871592d7001468f6fadfe36d904d8dfbd53f0032781cfef4fa7ef8d9ba631d2ddabf5a747c29750ba67c19eb143d3e5f')
+b2sums=('993de0075b5d7e8e786e66434216bf6cd965f37113c3498082e3bd70fae6ff0003796a73de5aca7ccd8d44c55570f0ae2ab70c4a6db5191531aa94b6a8364544')
+
+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