[arch-commits] Commit in towncrier/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 20 17:38:47 UTC 2020
Date: Friday, March 20, 2020 @ 17:38:46
Author: felixonmars
Revision: 601950
archrelease: copy trunk to community-any
Added:
towncrier/repos/community-any/
towncrier/repos/community-any/PKGBUILD
(from rev 601949, towncrier/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: towncrier/repos/community-any/PKGBUILD (from rev 601949, towncrier/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-20 17:38:46 UTC (rev 601950)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=towncrier
+pkgver=19.2.0
+pkgrel=1
+pkgdesc="Utility to produce useful, summarised news files for your project"
+arch=('any')
+url="https://github.com/hawkowl/towncrier"
+license=('MIT')
+depends=('python-setuptools' 'python-click' 'python-click-default-group' 'python-incremental'
+ 'python-jinja' 'python-toml')
+checkdepends=('git' 'python-twisted')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hawkowl/towncrier/archive/$pkgver.tar.gz")
+sha512sums=('60999446c4ae404fb54ea6282a862621d49f62a2488d31eecf8fed9dd7afa6e01f4feac6e3dd26b882ee75f747424d63d05521e33b5f6b8df7059ce32dbe5c4f')
+
+build() {
+ cd towncrier-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd towncrier-$pkgver
+ PYTHONPATH="$PWD/build/lib" trial3 towncrier
+}
+
+package() {
+ cd towncrier-$pkgver
+ python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list