[arch-commits] Commit in python-dephell-venvs/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Dec 6 19:04:03 UTC 2021


    Date: Monday, December 6, 2021 @ 19:04:03
  Author: arojas
Revision: 1065353

archrelease: copy trunk to community-any

Added:
  python-dephell-venvs/repos/community-any/PKGBUILD
    (from rev 1065352, python-dephell-venvs/trunk/PKGBUILD)
Deleted:
  python-dephell-venvs/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 45 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 19:03:53 UTC (rev 1065352)
+++ PKGBUILD	2021-12-06 19:04:03 UTC (rev 1065353)
@@ -1,47 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell_venvs
-pkgname=python-dephell-venvs
-pkgver=0.1.16
-pkgrel=5
-pkgdesc="Manage Python virtual environments"
-arch=('any')
-url="https://github.com/dephell/${_pkgname}"
-license=('MIT')
-depends=('python-attrs' 'python-dephell-pythons')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        $pkgname-py39.patch::https://github.com/dephell/dephell_venvs/commit/1dbd550b3481.patch)
-sha256sums=('3675c0a905a5c29516937c686713d9387b8f8d3f3243dccec5e203e294c9b549'
-            'a186c90984bc7574e3595d691cbc2c9abeca75b17a32b8de8c2b5f344eed5c84')
-b2sums=('7e422393772902dacfe8d8eb26257065b39fc76ea0b58f0c057f9290ec911117a2d7c45303091cbe9c61f1c8928b4c5243e7e21cde880b87245756fedeb438d3'
-        '52a5dde6e2601ea6ab1501254359d5a3fe6f9e2fba445af790569207579dff284989b3a92bae306f6baa0d750cbd9abdd629c9f12580007908e89678cee880d3')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    patch -Np1 -i ../$pkgname-py39.patch
-
-    # pycache slipped into release tarballs
-    find . -name \*.pyc -delete
-}
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-dephell-venvs/repos/community-any/PKGBUILD (from rev 1065352, python-dephell-venvs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-06 19:04:03 UTC (rev 1065353)
@@ -0,0 +1,45 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_venvs
+pkgname=python-dephell-venvs
+pkgver=0.1.18
+pkgrel=1
+pkgdesc="Manage Python virtual environments"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('MIT')
+depends=('python-attrs' 'python-dephell-pythons')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-requests')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('c7307291b754edba325ab27edeb05d85ee4dd2f1487c48872a1ebfc372bf7a2e')
+b2sums=('ca3b64a0983ef32f4aec42a26413604d241e00d2ac5d2e6c36fa58b3d354ad1a95562aa495a799245b54a7796c036fea1c3041ab087d3cb915c829caf75e02cd')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    # pycache slipped into release tarballs
+    find . -name \*.pyc -delete
+
+    # https://github.com/dephell/dephell_venvs/issues/3
+    sed -e "s|dephell_venvs.ensurepip||" -e '/package_data/d' -i setup.py
+}
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list