[arch-commits] Commit in python-installer/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at gemini.archlinux.org
Thu Aug 12 16:05:33 UTC 2021


    Date: Thursday, August 12, 2021 @ 16:05:33
  Author: ffy00
Revision: 997610

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-12 16:05:25 UTC (rev 997609)
+++ PKGBUILD	2021-08-12 16:05:33 UTC (rev 997610)
@@ -1,52 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=installer
-pkgname=python-$_pkgname
-pkgver=0.2.0
-pkgrel=1
-pkgdesc='Low-level library for installing a Python package from a wheel distribution'
-arch=('any')
-url='https://github.com/pradyunsg/installer'
-license=('MIT')
-depends=('python')
-makedepends=('git' 'python-setuptools' 'python-dephell'
-             'python-sphinx' 'python-sphinx-furo' 'python-myst-parser')
-checkdepends=('python-pytest' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
-sha512sums=('f3acce41d5547e3a9dfcab79b52f81f479ac195b5f52884262a87b9b342658f23d235eb1e840bf8b18fb757bd3f25c63fc0120703bf33b8a177ff5078f8f983a')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-
-  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH=src pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  # remove windows entrypoint scripts executables
-  rm "$pkgdir"/usr/lib/python*/site-packages/installer/_scripts/*.exe
-
-  # install documentation
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname
-  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-installer/repos/community-any/PKGBUILD (from rev 997609, python-installer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-12 16:05:33 UTC (rev 997610)
@@ -0,0 +1,52 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=installer
+pkgname=python-$_pkgname
+pkgver=0.2.3
+pkgrel=1
+pkgdesc='Low-level library for installing a Python package from a wheel distribution'
+arch=('any')
+url='https://github.com/pradyunsg/installer'
+license=('MIT')
+depends=('python')
+makedepends=('git' 'python-setuptools' 'python-dephell'
+             'python-sphinx' 'python-sphinx-furo' 'python-myst-parser')
+checkdepends=('python-pytest' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
+sha512sums=('daa80c11e734ffa520779c7e08df4779f41dec429ebf642f024d575cfd952da0bbd0cc78190ca1b50bbcff3adf5cf5d97c4f1f605714d5f8fd40a21a64fbe623')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+
+  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  PYTHONPATH=src pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  # remove windows entrypoint scripts executables
+  rm "$pkgdir"/usr/lib/python*/site-packages/installer/_scripts/*.exe
+
+  # install documentation
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname
+  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list