Date: Tuesday, February 22, 2022 @ 20:36:09
  Author: alerque
Revision: 1136187

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 48 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-22 20:36:02 UTC (rev 1136186)
+++ PKGBUILD    2022-02-22 20:36:09 UTC (rev 1136187)
@@ -1,46 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-# Contributor: George Rawlinson <[email protected]>
-
-_pkgname=poetry-core
-pkgname=python-poetry-core
-pkgver=1.0.7
-pkgrel=4
-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-{build,installer})
-checkdepends=(git python-pytest python-pytest-mock python-virtualenv)
-conflicts=('python-poetry<1.1.0')
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('a4a99d2d0adb54d69acaa6d852bc9d41818b5a2d751aa23a9543e32bc4e6660d')
-b2sums=('570f13e3c7298fd822a38b75c49c623bde4fa780b3787c3c9cfa3939bb68fee3eeaf6190013117a6e751cb6f87a15b343ba183529fcc07d30e37988097954d4a')
-
-prepare() {
-       cd "$_archive"
-       # remove vendored dependencies
-       sed -i '/^__version__/!d' poetry/core/__init__.py
-       rm -r poetry/core/_vendor
-}
-
-build() {
-       cd "$_archive"
-       python -m build -wn
-}
-
-check() {
-       cd "$_archive"
-       # only works inside git repositories
-       pytest \
-               -k 'not test_default_with_excluded_data and not 
test_default_src_with_excluded_data'
-}
-
-package() {
-       cd "$_archive"
-       python -m installer -d "$pkgdir" dist/*.whl
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: python-poetry-core/repos/community-any/PKGBUILD (from rev 1136186, 
python-poetry-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-02-22 20:36:09 UTC (rev 1136187)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: George Rawlinson <[email protected]>
+
+_pkgname=poetry-core
+pkgname=python-poetry-core
+pkgver=1.0.7
+pkgrel=5
+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-{build,installer})
+checkdepends=(git python-pytest python-pytest-mock python-virtualenv)
+conflicts=('python-poetry<1.1.0')
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('a4a99d2d0adb54d69acaa6d852bc9d41818b5a2d751aa23a9543e32bc4e6660d')
+b2sums=('570f13e3c7298fd822a38b75c49c623bde4fa780b3787c3c9cfa3939bb68fee3eeaf6190013117a6e751cb6f87a15b343ba183529fcc07d30e37988097954d4a')
+
+prepare() {
+       cd "$_archive"
+       # 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
+}
+
+build() {
+       cd "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       # only works inside git repositories
+       pytest \
+               -k 'not test_default_with_excluded_data and not 
test_default_src_with_excluded_data'
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

Reply via email to