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

Maxime Gauduin alucryd at archlinux.org
Wed Jan 13 14:24:44 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:24:44
  Author: alucryd
Revision: 820466

archrelease: copy trunk to community-x86_64

Added:
  python-reflink/repos/
  python-reflink/repos/community-x86_64/
  python-reflink/repos/community-x86_64/PKGBUILD
    (from rev 820465, python-reflink/trunk/PKGBUILD)

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

Copied: python-reflink/repos/community-x86_64/PKGBUILD (from rev 820465, python-reflink/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-01-13 14:24:44 UTC (rev 820466)
@@ -0,0 +1,36 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-reflink
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Reflink support for Python'
+arch=(x86_64)
+url=https://gitlab.com/rubdos/pyreflink
+license=(MIT)
+depends=(python-cffi)
+makedepends=(
+  git
+  python-pip
+  python-setuptools
+)
+_tag=48a3a3e6212e40eb44da47db9cbcb2e2c8306d50
+source=(git+https://gitlab.com/rubdos/pyreflink.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd pyreflink
+  git describe --tags
+}
+
+build() {
+  cd pyreflink
+  python setup.py build
+}
+
+package() {
+  cd pyreflink
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-reflink/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list