Date: Saturday, November 5, 2022 @ 23:31:37
  Author: arojas
Revision: 1342586

archrelease: copy trunk to community-any

Added:
  python-flit/repos/community-any/PKGBUILD
    (from rev 1342585, python-flit/trunk/PKGBUILD)
Deleted:
  python-flit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-05 23:31:29 UTC (rev 1342585)
+++ PKGBUILD    2022-11-05 23:31:37 UTC (rev 1342586)
@@ -1,60 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <[email protected]>
-# Maintainer: Eli Schwartz <[email protected]>
-
-_pkgname=flit
-pkgbase=python-$_pkgname
-pkgname=($pkgbase{,-core})
-pkgver=3.7.1
-pkgrel=1
-pkgdesc='Simplified packaging of Python modules'
-arch=('any')
-url='https://github.com/takluyver/flit'
-license=('BSD')
-depends=('python' 'python-tomli' 'python-tomli-w')
-makedepends=('python-pip' 'python-poetry' 'python-requests' 'python-docutils')
-checkdepends=('python-pytest' 'python-testpath' 'python-responses')
-source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('e38162696a24a0f8d9a61f3364c2ada9c8024309b02138af66c53790e14f88bf285822ea85d6634e85f88d9712eaad039bb5dcbbd1ac1f87bce6b2790bd96d6f')
-
-prepare() {
-  cd $_pkgname-$pkgver
-  rm tests/test_sdist.py
-  cd flit_core
-  python build_dists.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH=flit_core python -m flit build --format wheel
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH=flit_core python -m pytest
-}
-
-package_python-flit() {
-  depends+=('python-flit-core' 'python-requests' 'python-docutils')
-  provides=($_pkgname)
-  conflicts=($_pkgname)
-
-  cd $_pkgname-$pkgver
-
-  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" 
--ignore-installed --no-deps dist/*.whl
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-flit-core() {
-  pkgdesc+=' (core backend)'
-
-  cd $_pkgname-$pkgver/flit_core
-
-  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" 
--ignore-installed --no-deps dist/*.whl
-  install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # installing tests to a subdir of your project might not conflict the 
toplevel, but
-  # don't do it anyway...
-  rm -r "$pkgdir"/usr/lib/python*/site-packages/flit_core/tests/
-}

Copied: python-flit/repos/community-any/PKGBUILD (from rev 1342585, 
python-flit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-05 23:31:37 UTC (rev 1342586)
@@ -0,0 +1,60 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+# Maintainer: Eli Schwartz <[email protected]>
+
+_pkgname=flit
+pkgbase=python-$_pkgname
+pkgname=($pkgbase{,-core})
+pkgver=3.8.0
+pkgrel=1
+pkgdesc='Simplified packaging of Python modules'
+arch=('any')
+url='https://github.com/takluyver/flit'
+license=('BSD')
+depends=('python' 'python-tomli' 'python-tomli-w')
+makedepends=('python-pip' 'python-poetry' 'python-requests' 'python-docutils')
+checkdepends=('python-pytest' 'python-testpath' 'python-responses')
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('c4af79e1511e647303dc6b0913d8526586580db8d916aa7c4a52a9ebb281b375b6082e961ac8be05c0fc8ffdd8c3ec858fcba4e7faea25f465895288fa09c355')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  rm tests/test_sdist.py
+  cd flit_core
+  python build_dists.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  PYTHONPATH=flit_core python -m flit build --format wheel
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  PYTHONPATH=flit_core python -m pytest
+}
+
+package_python-flit() {
+  depends+=('python-flit-core' 'python-requests' 'python-docutils')
+  provides=($_pkgname)
+  conflicts=($_pkgname)
+
+  cd $_pkgname-$pkgver
+
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" 
--ignore-installed --no-deps dist/*.whl
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-flit-core() {
+  pkgdesc+=' (core backend)'
+
+  cd $_pkgname-$pkgver/flit_core
+
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" 
--ignore-installed --no-deps dist/*.whl
+  install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # installing tests to a subdir of your project might not conflict the 
toplevel, but
+  # don't do it anyway...
+  rm -r "$pkgdir"/usr/lib/python*/site-packages/flit_core/tests/
+}

Reply via email to