Date: Sunday, April 2, 2023 @ 09:07:51
  Author: dvzrv
Revision: 1433463

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 45 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-02 09:07:50 UTC (rev 1433462)
+++ PKGBUILD    2023-04-02 09:07:51 UTC (rev 1433463)
@@ -1,32 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_name=bowler
-pkgname=python-bowler
-pkgver=0.9.0
-pkgrel=5
-pkgdesc="Safe code refactoring for modern Python."
-arch=(any)
-url="https://github.com/facebookincubator/${_name}";
-license=(MIT)
-depends=(python-attrs python-click python-fissix python-moreorless 
python-volatile)
-makedepends=(python-setuptools)
-source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha256sums=('cdb85ce2e7bd545802a15d755d1daf2b6a125429355c50d2019a9f35d63e45db')
-b2sums=('4e4a1b39e23cb76ad74edcd371b3bb1e4b52aae2342d026bdf07cb3f1598b62092e946ac5f8ddec7a882ff918ea44be12dc06646a775a557df260622910ca593')
-
-build(){
-    cd ${_name}-${pkgver}
-    python setup.py build
-}
-
-check() {
-    cd ${_name}-${pkgver}
-    python -m ${_name}.tests
-}
-
-package() {
-    cd ${_name}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1
-    install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-bowler/repos/community-any/PKGBUILD (from rev 1433461, 
python-bowler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-02 09:07:51 UTC (rev 1433463)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_name=bowler
+pkgname=python-bowler
+pkgver=0.9.0
+pkgrel=6
+pkgdesc="Safe code refactoring for modern Python."
+arch=(any)
+url="https://github.com/facebookincubator/${_name}";
+license=(MIT)
+depends=(
+  ipython
+  python
+  python-attrs
+  python-click
+  python-fissix
+  python-moreorless
+  python-volatile
+)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
+source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('cdb85ce2e7bd545802a15d755d1daf2b6a125429355c50d2019a9f35d63e45db')
+b2sums=('4e4a1b39e23cb76ad74edcd371b3bb1e4b52aae2342d026bdf07cb3f1598b62092e946ac5f8ddec7a882ff918ea44be12dc06646a775a557df260622910ca593')
+
+build(){
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m $_name.tests
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}

Reply via email to