[arch-commits] Commit in python-poetry-core/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 10 21:01:38 UTC 2021


    Date: Wednesday, November 10, 2021 @ 21:01:38
  Author: arojas
Revision: 1040362

archrelease: copy trunk to community-any

Added:
  python-poetry-core/repos/community-any/PKGBUILD
    (from rev 1040361, python-poetry-core/trunk/PKGBUILD)
Deleted:
  python-poetry-core/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 21:01:28 UTC (rev 1040361)
+++ PKGBUILD	2021-11-10 21:01:38 UTC (rev 1040362)
@@ -1,53 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: George Rawlinson <george at rawlinson.net.nz>
-
-_pkgname=poetry-core
-pkgname=python-poetry-core
-pkgver=1.0.3
-pkgrel=1
-pkgdesc="Poetry PEP 517 Build Backend & Core Utilities"
-arch=('any')
-url="https://github.com/python-poetry/${_pkgname}"
-license=('MIT')
-_deps=('jsonschema' 'lark-parser' 'packaging' 'tomlkit')
-depends=("${_deps[@]/#/python-}")
-makedepends=('python-dephell')
-checkdepends=('git' 'python-pytest' 'python-pytest-mock' 'python-virtualenv')
-conflicts=('python-poetry<1.1.0')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('b5a9f8284c685c638796a322ea868843da5e2094c664436e44061e6bcea367ea')
-b2sums=('38f6ffcc0eca97db3de213ca5aca97c0c7d458e317b568094f6b3fdb276ebeae230c831f117d8e39c17757e72d78beed2bf1b3f7f40cab2971bb5882fd27ed85')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # remove vendored dependencies
-    sed -i '/^__version__/!d' poetry/core/__init__.py
-    rm -r poetry/core/_vendor
-
-    # be a proper namespace, python3-only ;)
-    rm poetry/__init__.py
-
-    dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # only works inside git repositories
-    pytest \
-        -k 'not test_default_with_excluded_data and not test_default_src_with_excluded_data'
-}
-
-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-poetry-core/repos/community-any/PKGBUILD (from rev 1040361, python-poetry-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-10 21:01:38 UTC (rev 1040362)
@@ -0,0 +1,53 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: George Rawlinson <george at rawlinson.net.nz>
+
+_pkgname=poetry-core
+pkgname=python-poetry-core
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Poetry PEP 517 Build Backend & Core Utilities"
+arch=('any')
+url="https://github.com/python-poetry/${_pkgname}"
+license=('MIT')
+_deps=('jsonschema' 'lark-parser' 'packaging' 'tomlkit')
+depends=("${_deps[@]/#/python-}")
+makedepends=('python-dephell')
+checkdepends=('git' 'python-pytest' 'python-pytest-mock' 'python-virtualenv')
+conflicts=('python-poetry<1.1.0')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('a4a99d2d0adb54d69acaa6d852bc9d41818b5a2d751aa23a9543e32bc4e6660d')
+b2sums=('570f13e3c7298fd822a38b75c49c623bde4fa780b3787c3c9cfa3939bb68fee3eeaf6190013117a6e751cb6f87a15b343ba183529fcc07d30e37988097954d4a')
+
+prepare() {
+    cd ${_pkgname}-${pkgver}
+
+    # remove vendored dependencies
+    sed -i '/^__version__/!d' poetry/core/__init__.py
+    rm -r poetry/core/_vendor
+
+    # be a proper namespace, python3-only ;)
+    rm poetry/__init__.py
+
+    dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+    cd ${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd ${_pkgname}-${pkgver}
+
+    # only works inside git repositories
+    pytest \
+        -k 'not test_default_with_excluded_data and not test_default_src_with_excluded_data'
+}
+
+package() {
+    cd ${_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