[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Nov 23 09:02:48 UTC 2021
Date: Tuesday, November 23, 2021 @ 09:02:47
Author: dvzrv
Revision: 1054429
archrelease: copy trunk to community-any
Added:
pyenv/repos/community-any/PKGBUILD
(from rev 1054428, pyenv/trunk/PKGBUILD)
Deleted:
pyenv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-23 09:00:04 UTC (rev 1054428)
+++ PKGBUILD 2021-11-23 09:02:47 UTC (rev 1054429)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=pyenv
-pkgver=2.2.1
-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=('26d8d93f88cfdfc510b6b1ab20dd3391c0e0c14ed115455eb681151b2a0674a62fcc3798229a9ce5559348f102155132a5f16b633b5157c4a9bc26ce3b891a43')
-b2sums=('b5ecb0fead0b357e5200251dbf3530f126d7188062ae3e4fe64f81214b548e7ca6e829901fe4bdd4cdfefead208a1a2861faa10834b79700ab4cb901fbedf562')
-
-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}"
- # man page
- install -vDm 644 man/man1/*.1 -t "${pkgdir}/usr/share/man/man1/"
- # 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 1054428, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-23 09:02:47 UTC (rev 1054429)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pyenv
+pkgver=2.2.2
+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=('5dfde9c0eede2e77b672b74b64331628138b3899ed892b0a08c7b418a53fe24c46d66f9e54774ce9c62c6b13c122f266da17a54fd39d098dd9414228c48403bd')
+b2sums=('4b13e955fb256443df6018eb0fe65b700dfe59240cbfe19273552b8b041c21cd2b59cbb99ff481162b09479a20b0ad7cd569bf928eeafafecb520b25ef35817e')
+
+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}"
+ # man page
+ install -vDm 644 man/man1/*.1 -t "${pkgdir}/usr/share/man/man1/"
+ # 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