[arch-commits] Commit in python-inflect/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 19:21:32 UTC 2021


    Date: Thursday, December 2, 2021 @ 19:21:32
  Author: felixonmars
Revision: 1062338

archrelease: copy trunk to community-staging-any

Added:
  python-inflect/repos/community-staging-any/PKGBUILD
    (from rev 1062336, python-inflect/trunk/PKGBUILD)
Deleted:
  python-inflect/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 19:21:30 UTC (rev 1062337)
+++ PKGBUILD	2021-12-02 19:21:32 UTC (rev 1062338)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=inflect
-pkgname=python-inflect
-pkgver=5.3.0
-pkgrel=3
-pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles"
-arch=('any')
-url="https://github.com/jazzband/inflect"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools-scm' 'python-toml')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('f5baf65fb7a6ba59c91a36a17acb0abda3efc74fef56b3a3d99c100b2c6e94c5aafb08ab37310ce410631ac928e9c24a4a4c5e6b5c7d8f907c3d999f4a70cce4')
-b2sums=('20c591012a5a6692c3da3a39f4aeaaae290da5ba723af5c9ac90f7d28112a1894acf082633f8f673f6d903f756b9bb70c6c3366762e872cf7ca6c6d5edf1c99c')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # we don't do linting
-  sed '/addopts/d' -i pytest.ini
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 {CHANGES,README}.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-inflect/repos/community-staging-any/PKGBUILD (from rev 1062336, python-inflect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 19:21:32 UTC (rev 1062338)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=inflect
+pkgname=python-inflect
+pkgver=5.3.0
+pkgrel=4
+pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles"
+arch=('any')
+url="https://github.com/jazzband/inflect"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools-scm' 'python-toml')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('f5baf65fb7a6ba59c91a36a17acb0abda3efc74fef56b3a3d99c100b2c6e94c5aafb08ab37310ce410631ac928e9c24a4a4c5e6b5c7d8f907c3d999f4a70cce4')
+b2sums=('20c591012a5a6692c3da3a39f4aeaaae290da5ba723af5c9ac90f7d28112a1894acf082633f8f673f6d903f756b9bb70c6c3366762e872cf7ca6c6d5edf1c99c')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # we don't do linting
+  sed '/addopts/d' -i pytest.ini
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 {CHANGES,README}.rst \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list