[arch-commits] Commit in python-incremental/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 14:46:37 UTC 2021


    Date: Tuesday, November 30, 2021 @ 14:46:36
  Author: foutrelis
Revision: 429560

archrelease: copy trunk to staging-any

Added:
  python-incremental/repos/staging-any/
  python-incremental/repos/staging-any/PKGBUILD
    (from rev 429559, python-incremental/trunk/PKGBUILD)

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

Copied: python-incremental/repos/staging-any/PKGBUILD (from rev 429559, python-incremental/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-30 14:46:36 UTC (rev 429560)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-incremental
+pkgver=21.3.0
+pkgrel=4
+pkgdesc='A small library that versions your Python projects'
+arch=('any')
+license=('MIT')
+depends=('python-click' 'python-twisted')
+url='https://github.com/hawkowl/incremental'
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://github.com/hawkowl/incremental/archive/incremental-$pkgver.tar.gz")
+sha512sums=('99a9e27b8513c4a13a74d37ae3d2c912af78ff9c6c528de1cba84767e2c08c9fc00cb54832efcccc70b922ac1582dd116cf8e8ba3f69926b424cf204ba4f0e7d')
+
+build() {
+  cd incremental-incremental-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd incremental-incremental-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py ptr
+}
+
+package() {
+  cd incremental-incremental-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list