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

David Runge dvzrv at archlinux.org
Thu Nov 5 10:01:08 UTC 2020


    Date: Thursday, November 5, 2020 @ 10:01:07
  Author: dvzrv
Revision: 743042

upgpkg: python-inflect 4.1.0-2: Rebuild to fix package contents (FS#68463).

Remove the use of python-dephell (it's not required and breaks the package contents).
Remove all use of additional linting for the package (it's not required and potentially just breaks on rebuild).

Modified:
  python-inflect/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 10:01:05 UTC (rev 743041)
+++ PKGBUILD	2020-11-05 10:01:07 UTC (rev 743042)
@@ -3,22 +3,23 @@
 _name=inflect
 pkgname=python-inflect
 pkgver=4.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles"
 arch=('any')
 url="https://github.com/jazzband/inflect"
 license=('MIT')
 depends=('python')
-makedepends=('python-dephell' 'python-setuptools')
-checkdepends=('flake8' 'python-black' 'python-coverage' 'python-pytest'
-'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha512sums=('9a2ba4777f01475390976f3ac28f046d39d1f86cfdafd161cc7c8d33526aca35d44e6598ccf2a0b68d3511a64b67ed0991b51c78bda8f279cd706fd29a3fa514')
+b2sums=('c15f6b0d5d93050283dfc4d691e9fdbc26bb2f71573d6b397834e87af62f3afb8f5cdb0448c531de37e84729c0c6ae0cf4ea7a7b081a9dd784f7c06b962d7def')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
   cd "$pkgname-$pkgver"
-  dephell deps convert --from pyproject.toml --to setup.py
+  # we don't do linting
+  sed '/addopts/d' -i pytest.ini
 }
 
 build() {
@@ -35,9 +36,8 @@
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+                          --optimize=1 \
+                          --root="${pkgdir}"
   install -vDm 644 {{CHANGES,README}.rst,CONTRIBUTING.md} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list