[arch-commits] Commit in python-brotlicffi (3 files)

Maxime Gauduin alucryd at archlinux.org
Fri May 7 09:29:24 UTC 2021


    Date: Friday, May 7, 2021 @ 09:29:23
  Author: alucryd
Revision: 928577

archrelease: copy trunk to community-x86_64

Added:
  python-brotlicffi/repos/
  python-brotlicffi/repos/community-x86_64/
  python-brotlicffi/repos/community-x86_64/PKGBUILD
    (from rev 928576, python-brotlicffi/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: python-brotlicffi/repos/community-x86_64/PKGBUILD (from rev 928576, python-brotlicffi/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-05-07 09:29:23 UTC (rev 928577)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-brotlicffi
+pkgver=1.0.9.2
+pkgrel=1
+pkgdesc='Python bindings to the Brotli compression library'
+arch=(x86_64)
+url=https://github.com/python-hyper/brotlicffi
+license=(MIT)
+depends=(
+  brotli
+  python
+  python-cffi
+)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=de7ee050f809448735f0f05a6379383b8cf4554f
+source=(git+https://github.com/python-hyper/brotlicffi.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd brotlicffi
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd brotlicffi
+  USE_SHARED_BROTLI=1 python setup.py build
+}
+
+package() {
+  cd brotlicffi
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-brotlicffi
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list