[arch-commits] Commit in pyenv/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Nov 20 16:26:47 UTC 2021


    Date: Saturday, November 20, 2021 @ 16:26:46
  Author: dvzrv
Revision: 1052883

archrelease: copy trunk to community-any

Added:
  pyenv/repos/community-any/PKGBUILD
    (from rev 1052882, pyenv/trunk/PKGBUILD)
Deleted:
  pyenv/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-20 16:26:39 UTC (rev 1052882)
+++ PKGBUILD	2021-11-20 16:26:46 UTC (rev 1052883)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=pyenv
-pkgver=2.2.0
-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=('e819030258c4f67156d84d2ae349bf16303547a05cf37277113737df8352269b3933fd765d8ebb6c187b830023ecc9cf81f168cac413d628c3c3fa4d06f01f74')
-b2sums=('fef784e87075a6772c78a3051331fbd3da1e077507164d8457f7c9303ec97a35687705303ebb37a1074eba95523a88cdbffc5fe0c0397756d3be4d2d1a18d374')
-
-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 1052882, pyenv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-20 16:26:46 UTC (rev 1052883)
@@ -0,0 +1,61 @@
+# 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"
+}



More information about the arch-commits mailing list