Package Details: pyenv-virtualenv 1:1.2.4-1

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: darkfish
Last Packager: darkfish
Votes: 34
Popularity: 0.194404
First Submitted: 2015-11-15 10:31 (UTC)
Last Updated: 2024-07-22 05:16 (UTC)

Pinned Comments

darkfish commented on 2023-01-10 15:10 (UTC)

1.2.0 from upstream released. This package now installs under /usr/share/pyenv/plugins

Latest Comments

1 2 3 Next › Last »

darkfish commented on 2023-09-05 12:06 (UTC)

@raffaem: That is an upstream packaging/release issue. See v1.2.2 release notes, which refers to PR#449, which in turn refers to the commit where it is still 1.2.1.

raffaem commented on 2023-09-04 14:50 (UTC)

Why pyenv virtualenv --version says 1.2.1?

darkfish commented on 2023-01-30 12:20 (UTC)

Thanks @plokid. It was leftover makedepend from versions prior to 1.2.0 and will be removed in next release.

plokid commented on 2023-01-30 09:15 (UTC)

"patch" is not a dependence

darkfish commented on 2023-01-10 15:10 (UTC)

1.2.0 from upstream released. This package now installs under /usr/share/pyenv/plugins

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.