[arch-commits] Commit in python-incremental/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Nov 29 22:23:01 UTC 2021
Date: Monday, November 29, 2021 @ 22:23:00
Author: felixonmars
Revision: 429523
archrelease: copy trunk to staging-any
Added:
python-incremental/repos/staging-any/
python-incremental/repos/staging-any/PKGBUILD
(from rev 429522, python-incremental/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-incremental/repos/staging-any/PKGBUILD (from rev 429522, python-incremental/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-11-29 22:23:00 UTC (rev 429523)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-incremental
+pkgver=21.3.0
+pkgrel=3
+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