Package Details: pyenv 1.2.7-1

Git Clone URL: https://aur.archlinux.org/pyenv.git (read-only)
Package Base: pyenv
Description: Simple Python version management
Upstream URL: https://github.com/pyenv/pyenv
Licenses: MIT
Submitter: cdown
Maintainer: cdown
Last Packager: cdown
Votes: 28
Popularity: 3.229561
First Submitted: 2015-09-26 10:55
Last Updated: 2018-08-23 14:27

Dependencies (1)

Sources (1)

Latest Comments

1 2 Next › Last »

matthias.lisin commented on 2018-08-23 14:36

@cdown Thanks for the quick response. I have a other small request. Could you consider this PKGBUILD?

# Maintainer: Chris Down <chris@chrisdown.name>

pkgname=pyenv
pkgver=1.2.7
pkgrel=1
pkgdesc='Simple Python version management'
arch=('any')
url='https://github.com/pyenv/pyenv'
license=('MIT')
optdepends=('mercurial: to install dev builds')
depends=()
source=("https://github.com/pyenv/pyenv/archive/v${pkgver}.tar.gz")
sha512sums=('2e0be53ef89c9ea3f339ae379808c20255fe717a9a93e12f7343b345def8547424662e9525379fc174b20fec501addccdb053d24c56c202be63ec3263f9a5450')

package() {
    cd "$pkgname-$pkgver"

    install -d -m755 "${pkgdir}/usr/bin"
    install -D -m644 completions/pyenv.bash "${pkgdir}/usr/share/bash-completion/completions/pyenv"
    install -D -m644 completions/pyenv.fish "${pkgdir}/usr/share/fish/completions/pyenv.fish"
    # no zsh completion for now
    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -D bin/pyenv "${pkgdir}/opt/pyenv/bin/pyenv"

    cp -a libexec "${pkgdir}/opt/pyenv/"

    # install python-build plugin
    cd plugins/python-build
    PREFIX="${pkgdir}/opt/pyenv" ./install.sh 

    # go back to the package dir
    cd "${srcdir}/${pkgname}-${pkgver}"

    # symlink all executables to /usr/bin
    for i in bin/{pyenv-install,pyenv-uninstall,python-build} libexec/pyenv; do
        ln -s "/opt/pyenv/${i}" "${pkgdir}/usr/bin/"
    done
}

cdown commented on 2018-08-23 14:26

o@matthias.lisin Sorry, I missed the flag. It's fixed now.

matthias.lisin commented on 2018-08-23 11:07

@cdown Do you indent to update this package in near future, or can I take over as maintainer?

fysihcyst commented on 2018-06-21 23:39

@cdown Sorry for not checking more carefully before posting here, but the issue appears to be with the aur helper I used to upgrade (aurman). Installing with makepkg (or even trizen) seems to work just fine.

cdown commented on 2018-06-21 16:42

@fysihcyst: Where do you see that? It looks ok for me:

% pacman -Q pyenv
pyenv 1.2.4-1
% stat -L =pyenv 
  File: /usr/sbin/pyenv
  Size: 3227        Blocks: 8          IO Block: 4096   regular file
Device: 19h/25d Inode: 14833185    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-06-16 08:35:02.000000000 -0400
Modify: 2018-06-16 08:34:57.000000000 -0400
Change: 2018-06-16 08:35:02.313480111 -0400
 Birth: -

fysihcyst commented on 2018-06-21 16:29

After the upgrade from 1.2.3 -> 1.2.4 the files in the upstream package seem to now have permissions set so only the group, not others can read and execute. Is this intentional? Is there anything wrong with just running chmod -R o=g /opt/pyenv or should I be adding myself to the appropriate group?

r.v commented on 2018-03-09 02:43

+1 @arvidsaur's comment; I ended up installing through the repo's README instructions

arvidsaur commented on 2018-01-15 16:48

Seems like the upstream should be changed to github.com/pyenv/pyenv

cdown commented on 2017-04-11 23:40

@SilverRainZ: bash is part of the base group. The base group is assumed to be installed, packages in it are not generally listed as dependencies in other, non-base packages.

base and base-devel are simply assumed to be installed whenever building a PKGBUILD. If they are not, that's something you need to fix on your system.

SilverRainZ commented on 2017-04-03 02:01

Please add bash into depends.