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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Aug 16 20:48:50 UTC 2021


    Date: Monday, August 16, 2021 @ 20:48:50
  Author: polyzen
Revision: 1001082

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-16 20:48:29 UTC (rev 1001081)
+++ PKGBUILD	2021-08-16 20:48:50 UTC (rev 1001082)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: robertfoster
-# Contributor: Ista Zahn <istazahn[at]gmail[dot]com>
-
-_name=pyppeteer
-pkgname=python-pyppeteer
-pkgver=0.2.5
-pkgrel=2
-pkgdesc='Headless chrome/chromium automation library'
-arch=('any')
-url=https://github.com/pyppeteer/pyppeteer
-license=('MIT')
-depends=('python-appdirs' 'python-pyee' 'python-tqdm' 'python-urllib3'
-         'python-websockets')
-makedepends=('python-build' 'python-install' 'python-poetry')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af')
-b2sums=('16c07b0c6a8267a9bb42d58a592391caa9fc614b577f157d73ad6f3bee690b7ff44b17f2c5488bbfe5d68b9c2f70b6092e3c6a53cc9c8d5507195eccb9f88c4e')
-
-prepare() {
-  cd $_name-$pkgver
-  # Remove include list https://github.com/pypa/wheel/issues/92
-  sed -i '/^include/,/]/d' pyproject.toml
-}
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
-  cd $_name-$pkgver
-  export PYTHONHASHSEED=0
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-
-  # https://github.com/FFY00/python-install/pull/6
-  chmod +x "$pkgdir"/usr/bin/*
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pyppeteer/repos/community-any/PKGBUILD (from rev 1001081, python-pyppeteer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-16 20:48:50 UTC (rev 1001082)
@@ -0,0 +1,45 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: robertfoster
+# Contributor: Ista Zahn <istazahn[at]gmail[dot]com>
+
+_name=pyppeteer
+pkgname=python-pyppeteer
+pkgver=0.2.6
+pkgrel=1
+pkgdesc='Headless chrome/chromium automation library'
+arch=('any')
+url=https://github.com/pyppeteer/pyppeteer
+license=('MIT')
+depends=('python-appdirs' 'python-importlib-metadata' 'python-pyee'
+         'python-tqdm' 'python-urllib3' 'python-websockets')
+makedepends=('python-build' 'python-install' 'python-poetry-core')
+source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('30f6cffcf753d9d802bb2dba1b9b87fafe578b90014dace858d72e8f3e091047994b461050f19f29cf78da24dd95f7b107618b9d4f370800b82faf16ed7bedc1')
+
+prepare() {
+  cd $_name-$pkgver
+  # Remove include list https://github.com/pypa/wheel/issues/92
+  sed -i '/^include/,/]/d' pyproject.toml
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd $_name-$pkgver
+  export PYTHONHASHSEED=0
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+
+  # https://github.com/FFY00/python-install/pull/6
+  chmod +x "$pkgdir"/usr/bin/*
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list