Package Details: pyenv-virtualenv 1:1.1.5-3

Git Clone URL: https://aur.archlinux.org/pyenv-virtualenv.git (read-only, click to copy)
Package Base: pyenv-virtualenv
Description: pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
Upstream URL: https://github.com/pyenv/pyenv-virtualenv
Keywords: pyenv virtualenv
Licenses: MIT
Submitter: russo79
Maintainer: digital
Last Packager: quebin31
Votes: 27
Popularity: 0.55
First Submitted: 2015-11-15 10:31 (UTC)
Last Updated: 2019-04-04 19:02 (UTC)

Pinned Comments

ayr-ton commented on 2018-10-20 12:02 (UTC) (edited on 2018-10-20 12:03 (UTC) by ayr-ton)

https://github.com/ayr-ton/PKGBUILDs/tree/master/pyenv-virtualenv

Latest Comments

1 2 3 Next › Last »

happy4pizza commented on 2022-02-09 12:08 (UTC) (edited on 2022-02-09 12:10 (UTC) by happy4pizza)

Requested commit. Change /opt/pyenv/plugins to /usr/share/pyenv/plugins. Since it is a plugin of pyenv it should be stored in the original plugins folder. If you were to build a package on any other distro it would be saved to /usr/share. Correct me if I'm wrong.

diff --git a/PKGBUILD b/PKGBUILD
index 85be839..5dbe3ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
 # Maintainer: Ayrton Araujo <root@ayr-ton.net>
 # Maintainer: Kevin Del Castillo R. <lans9831@gmail.com>
 # Contributor: Nuno Araujo <nuno.araujo@russo79.com>
+# Contributor: Will Crosswhite <happy4pizza@ gmail dot come>
 pkgname=pyenv-virtualenv
 pkgver=1.1.5
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)"
 arch=('any')
@@ -13,8 +14,9 @@ depends=('pyenv' 'bash')
 makedepends=('patch')
 source=("https://github.com/pyenv/$pkgname/archive/v$pkgver.tar.gz"
         "fix-symlink-308.patch")
-md5sums=('2ebab171a403915d695c383855ac78e4'
-         '476790c1f9643d76efbb188b35ed19e0')
+sha256sums=('27ae3de027a6f6dccdca4085225512e559c6b94b31625bd2b357a18890a1e618'
+            '6ab2bdf711d2cb094f9ce30b045cf7cf8dc3d6fea81dd7c96f8106da7b34ea21')
+

 prepare() {
   cd "${srcdir?}/$pkgname-$pkgver"
@@ -24,16 +26,16 @@ prepare() {
 }

 package() {
-  mkdir -p "${pkgdir?}"/{opt/pyenv/plugins/pyenv-virtualenv,usr/bin}
+  mkdir -p "${pkgdir?}"/{usr/share/pyenv/plugins/pyenv-virtualenv,usr/bin}
   cd "${srcdir?}/$pkgname-$pkgver"

   # Intall using the script
-  PREFIX="${pkgdir}/opt/pyenv/plugins/pyenv-virtualenv" ./install.sh 
+  PREFIX="${pkgdir}/usr/share/pyenv/plugins/pyenv-virtualenv" ./install.sh 

   # Link binaries
   pushd bin &> /dev/null
   for bin in *; do
-      ln -s /opt/pyenv/plugins/pyenv-virtualenv/bin/"$bin" "$pkgdir/usr/bin/$bin"
+      ln -s /usr/share/pyenv/plugins/pyenv-virtualenv/bin/"$bin" "$pkgdir/usr/bin/$bin"
   done
   popd &> /dev/null 

ExaFusion commented on 2022-01-14 11:59 (UTC)

Why not installing to /usr/share/ instead of /opt/?

perilla commented on 2021-07-20 14:44 (UTC)

When I try to use virtualenv, I got this error... /usr/bin/pyenv-virtualenv: line 204: 134419 Segmentation fault (core dumped) pyenv-exec python -s -m ensurepip 2> /dev/null

dartheian commented on 2020-12-05 13:52 (UTC) (edited on 2020-12-05 13:52 (UTC) by dartheian)

I put the following into my zshrc, but autocompletion doesn't work on zsh with prezto: eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" Do someone else had the same problem?

SilverRainZ commented on 2019-04-03 02:25 (UTC)

Please dont remove the epoch, it causes that user can no automaticlly update to the continue version. pacman thinks 1:xxxxx is always newer than any version without epoch.

ayr-ton commented on 2019-04-02 17:21 (UTC)

Thanks, @lans9831 :-)

quebin31 commented on 2019-04-02 16:13 (UTC) (edited on 2019-04-02 16:15 (UTC) by quebin31)

I added a fix for the issue with BASH_SOURCE pointing to /usr/libexec, using the patch file from pull #308, solving the issue #307, now there's no need to link/copy pyenv-virtualenv-realpath to /usr/libexec.

ayr-ton commented on 2019-02-14 03:06 (UTC)

I think it still need some tweaks. Will fix it with a version “-3” tomorrow.

ayr-ton commented on 2019-02-14 01:33 (UTC) (edited on 2019-02-14 01:38 (UTC) by ayr-ton)

@teyras @raugturi New version from pyenv-virtualenv community that should solves our issue :-)

ayr-ton commented on 2019-02-13 22:28 (UTC)

yyuu from pyenv-virtualenv community is working on a fix. Will wait for it so I could update the package with the proper fix.