[arch-commits] Commit in python-pipenv/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 20:39:37 UTC 2020


    Date: Monday, November 9, 2020 @ 20:39:37
  Author: foutrelis
Revision: 748224

archrelease: copy trunk to community-staging-any

Added:
  python-pipenv/repos/community-staging-any/
  python-pipenv/repos/community-staging-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch
    (from rev 748222, python-pipenv/trunk/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch)
  python-pipenv/repos/community-staging-any/PKGBUILD
    (from rev 748222, python-pipenv/trunk/PKGBUILD)

-----------------------------------------------------------------+
 0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch |   32 +++++++++
 PKGBUILD                                                        |   35 ++++++++++
 2 files changed, 67 insertions(+)

Copied: python-pipenv/repos/community-staging-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch (from rev 748222, python-pipenv/trunk/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch)
===================================================================
--- community-staging-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch	                        (rev 0)
+++ community-staging-any/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch	2020-11-09 20:39:37 UTC (rev 748224)
@@ -0,0 +1,32 @@
+From 29c76d50b90fd7b9494c61b0f028287580172940 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz at 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-staging-any/PKGBUILD (from rev 748222, python-pipenv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 20:39:37 UTC (rev 748224)
@@ -0,0 +1,35 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+
+pkgname=python-pipenv
+pkgver=2020.11.4
+pkgrel=2
+pkgdesc="Sacred Marriage of Pipfile, Pip, & Virtualenv."
+url="https://pipenv.pypa.io"
+arch=('any')
+license=('MIT')
+depends=('python' 'python-pip' 'python-certifi'
+         'python-virtualenv-clone' 'python-virtualenv')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pypa/pipenv/archive/v${pkgver}.tar.gz")
+sha512sums=('c9015eb9a449fa517f31619d1fec5d99882da915a50e189ba6ab9c7c147862f9734f0df200330d666380afe5d2cf52d18015c539635ca6459042ab50d3ccd059')
+
+build() {
+  cd "pipenv-$pkgver"
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+package() {
+  cd "pipenv-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  pushd pipenv
+  find . -name \*LICENSE\* -exec install -Dm 644 \{\} "${pkgdir}/usr/share/licenses/${pkgname}/"\{\} \;
+  popd
+
+  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"
+}



More information about the arch-commits mailing list