Date: Saturday, October 20, 2018 @ 18:40:54 Author: jleclanche Revision: 398110
archrelease: copy trunk to community-any Added: python-pipenv/repos/community-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch (from rev 398109, python-pipenv/trunk/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch) python-pipenv/repos/community-any/PKGBUILD (from rev 398109, python-pipenv/trunk/PKGBUILD) Deleted: python-pipenv/repos/community-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch python-pipenv/repos/community-any/PKGBUILD -----------------------------------------------------------------+ 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch | 64 ++-- PKGBUILD | 154 +++++----- 2 files changed, 113 insertions(+), 105 deletions(-) Deleted: 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch =================================================================== --- 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-20 18:30:31 UTC (rev 398109) +++ 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-20 18:40:54 UTC (rev 398110) @@ -1,32 +0,0 @@ -From 29c76d50b90fd7b9494c61b0f028287580172940 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwa...@archlinux.org> -Date: Wed, 15 Aug 2018 22:37:12 -0400 -Subject: [PATCH] setup: don't setup_requires on things used to run development - tasks - -It's not actually needed for setup.py, and is only used for: -- `invoke release.bump-version` -- `invoke release.tag-version` - -Including it in setup_requires is just something which ends up being -downloaded from PyPI as an egg, when doing possibly offline distro -packaging. ---- - setup.py | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 7c87a2d6..179359f0 100644 ---- a/setup.py -+++ b/setup.py -@@ -130,7 +130,6 @@ setup( - ], - }, - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', -- setup_requires=['invoke', 'parver'], - install_requires=required, - extras_require={}, - include_package_data=True, --- -2.18.0 - Copied: python-pipenv/repos/community-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch (from rev 398109, python-pipenv/trunk/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch) =================================================================== --- 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch (rev 0) +++ 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-20 18:40:54 UTC (rev 398110) @@ -0,0 +1,32 @@ +From 29c76d50b90fd7b9494c61b0f028287580172940 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwa...@archlinux.org> +Date: Wed, 15 Aug 2018 22:37:12 -0400 +Subject: [PATCH] setup: don't setup_requires on things used to run development + tasks + +It's not actually needed for setup.py, and is only used for: +- `invoke release.bump-version` +- `invoke release.tag-version` + +Including it in setup_requires is just something which ends up being +downloaded from PyPI as an egg, when doing possibly offline distro +packaging. +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7c87a2d6..179359f0 100644 +--- a/setup.py ++++ b/setup.py +@@ -130,7 +130,6 @@ setup( + ], + }, + python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", +- setup_requires=["invoke", "parver"], + install_requires=required, + extras_require={}, + include_package_data=True, +-- +2.18.0 + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-20 18:30:31 UTC (rev 398109) +++ PKGBUILD 2018-10-20 18:40:54 UTC (rev 398110) @@ -1,73 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Maikel Wever <maikelwe...@gmail.com> - -pkgbase=python-pipenv -pkgname=(python-pipenv python2-pipenv) -pkgver=2018.7.1 -pkgrel=3 -pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." -url="https://docs.pipenv.org" -arch=('any') -license=('MIT') -makedepends=('python-setuptools' - 'python2-setuptools') -#checkdepends=('python-pytest' 'python-pytest-runner' -# 'python-pip' 'python-certifi' 'python-virtualenv' -# 'python-virtualenv-clone' 'python-strict-rfc3339' -# 'python-pytz' 'python-flaky' 'python-mock' -# 'python2-pytest' 'python2-pytest-runner') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz" - "0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch") -sha256sums=('e7428c4a3ac93b8ad0a7819e043191865fc75b93a4a26a7288bf2a12883bca7a' - 'c518c4a1f761aa41eb5e54f92aab4b8322bff36f188d48f014059bd13e0b0eae') - -prepare() { - patch -p1 -d pipenv-$pkgver < 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch - cp -a pipenv-$pkgver{,-py2} -} - -build(){ - cd "$srcdir/pipenv-$pkgver" - python setup.py build - - cd "$srcdir/pipenv-$pkgver-py2" - python2 setup.py build -} - -#check(){ -# cd "$srcdir/pipenv-$pkgver" -# python setup.py pytest -# -# cd "$srcdir/pipenv-$pkgver-py2" -# python2 setup.py pytest -#} - -package_python2-pipenv() { - depends=('python2' 'python2-pip' 'python2-pew' 'python2-virtualenv' - 'python2-virtualenv-clone' 'python2-ordereddict' - 'python2-setuptools' 'python2-certifi' 'python2-pyopenssl' - 'python2-cryptography' 'python2-idna') - cd "pipenv-$pkgver-py2" - python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - mv "${pkgdir}/usr/bin/pipenv" "${pkgdir}/usr/bin/pipenv2" - mv "${pkgdir}/usr/bin/pewtwo" "${pkgdir}/usr/bin/pewtwo2" - mv "${pkgdir}/usr/bin/pipenv-resolver" "${pkgdir}/usr/bin/pipenv-resolver2" - - PIPENV_SHELL=bash python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv2" - PIPENV_SHELL=zsh python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv2" - PIPENV_SHELL=fish python2 -m pipenv --completion | sed 's/pipenv/pipenv2/g' | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv2.fish" -} - -package_python-pipenv() { - depends=('python' 'python-pip' 'python-pew' 'python-virtualenv' - 'python-setuptools' 'python-virtualenv-clone' 'python-certifi') - cd "pipenv-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - PIPENV_SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" - PIPENV_SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" - PIPENV_SHELL=fish python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish" -} Copied: python-pipenv/repos/community-any/PKGBUILD (from rev 398109, python-pipenv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-20 18:40:54 UTC (rev 398110) @@ -0,0 +1,81 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Maikel Wever <maikelwe...@gmail.com> + +pkgbase=python-pipenv +pkgname=(python-pipenv python2-pipenv) +pkgver=2018.10.13 +pkgrel=1 +pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv." +url="https://docs.pipenv.org" +arch=("any") +license=("MIT") +makedepends=("python-setuptools" "python2-setuptools") +#checkdepends=( +# "python-pytest" "python-pytest-runner" +# "python-pip" "python-certifi" "python-virtualenv" +# "python-virtualenv-clone" "python-strict-rfc3339" +# "python-pytz" "python-flaky" "python-mock" +# "python2-pytest" "python2-pytest-runner" +#) +source=( + "${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz" + "0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch" +) +sha256sums=( + "7d34a075ee0f252b2a26e576c6231b9d44553dc3703a21dcdbd2ede786b6ccd3" + "878fd681571afe7e9664fcb06828f41e999d33dc31ae3b11cfbd93475fe8516d" +) + +prepare() { + patch -p1 -d pipenv-$pkgver < 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch + cp -a pipenv-$pkgver{,-py2} +} + +build(){ + cd "$srcdir/pipenv-$pkgver" + python setup.py build + + cd "$srcdir/pipenv-$pkgver-py2" + python2 setup.py build +} + +#check(){ +# cd "$srcdir/pipenv-$pkgver" +# python setup.py pytest +# +# cd "$srcdir/pipenv-$pkgver-py2" +# python2 setup.py pytest +#} + +package_python2-pipenv() { + depends=( + "python2" "python2-pip" "python2-pew" "python2-virtualenv" + "python2-virtualenv-clone" "python2-ordereddict" + "python2-setuptools" "python2-certifi" "python2-pyopenssl" + "python2-cryptography" "python2-idna" + ) + cd "pipenv-$pkgver-py2" + python2 setup.py install --root="$pkgdir/" --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + mv "${pkgdir}/usr/bin/pipenv" "${pkgdir}/usr/bin/pipenv2" + mv "${pkgdir}/usr/bin/pipenv-resolver" "${pkgdir}/usr/bin/pipenv-resolver2" + + PIPENV_SHELL=bash python2 -m pipenv --completion | sed "s/pipenv/pipenv2/g" | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv2" + PIPENV_SHELL=zsh python2 -m pipenv --completion | sed "s/pipenv/pipenv2/g" | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv2" + PIPENV_SHELL=fish python2 -m pipenv --completion | sed "s/pipenv/pipenv2/g" | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv2.fish" +} + +package_python-pipenv() { + depends=( + "python" "python-pip" "python-pew" "python-virtualenv" + "python-setuptools" "python-virtualenv-clone" "python-certifi" + ) + cd "pipenv-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + PIPENV_SHELL=bash python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/pipenv" + PIPENV_SHELL=zsh python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_pipenv" + PIPENV_SHELL=fish python -m pipenv --completion | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/pipenv.fish" +}