[arch-commits] Commit in python-pyphen/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Fri Sep 2 17:22:28 UTC 2022


    Date: Friday, September 2, 2022 @ 17:22:27
  Author: dvzrv
Revision: 1290939

upgpkg: python-pyphen 0.13.0-1: Upgrade to 0.13.0.

Remove unnecessary quotes and curly braces.

Modified:
  python-pyphen/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-02 17:19:48 UTC (rev 1290938)
+++ PKGBUILD	2022-09-02 17:22:27 UTC (rev 1290939)
@@ -2,7 +2,7 @@
 
 _name=pyphen
 pkgname=python-pyphen
-pkgver=0.12.0
+pkgver=0.13.0
 pkgrel=1
 pkgdesc="Pure Python module to hyphenate text"
 arch=(any)
@@ -9,24 +9,24 @@
 url="https://pyphen.org/"
 license=(GPL2 LGPL2.1 MPL)
 depends=(python)
-makedepends=(python-build python-flit python-installer python-wheel)
+makedepends=(python-build python-flit-core python-installer python-wheel)
 checkdepends=(python-pytest)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('144218b8d5454fffc16de0c839c93a0badadd5c9b7867195072b77d9130440059ec84b5819d7eed12b65d2cc51cb7202226cb44ef6844f18fa428c4b3a1ef2b5')
-b2sums=('979f29051e65ea1411ce013760f4d7facfa87daac1d5325976a8fed7d6335eebaa14bc2d0f7ff521d9cf2637cef3f820fa91d983f7fce61eaaa7b23496cc1041')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('0238627cbde87601be0731a097488342a2f6a48d9ca7510066bb7a3674e0a4581653bc829a22716873b7eafff750025e6ff5b5a8c9ec095d8ccd1e4f801a101b')
+b2sums=('520ac4f0ce30fa4701a2ff72f03871c222a5529d79ff276c96cd4e7dec5a324a65878e7988666c972755f46b0a7359b82bcb67d33dfad838062bfeea143e9e04')
 
 build() {
-  cd "${_name}-$pkgver"
+  cd $_name-$pkgver
   python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
-  cd "${_name}-$pkgver"
+  cd $_name-$pkgver
   pytest -v -c /dev/null tests/
 }
 
 package() {
-  cd "${_name}-$pkgver"
+  cd $_name-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
 }



More information about the arch-commits mailing list