[arch-commits] Commit in towncrier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 11 17:27:53 UTC 2021
Date: Tuesday, May 11, 2021 @ 17:27:53
Author: felixonmars
Revision: 930296
archrelease: copy trunk to community-any
Added:
towncrier/repos/community-any/PKGBUILD
(from rev 930294, towncrier/trunk/PKGBUILD)
Deleted:
towncrier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 38 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-11 17:27:49 UTC (rev 930295)
+++ PKGBUILD 2021-05-11 17:27:53 UTC (rev 930296)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=towncrier
-pkgver=19.9.0rc1
-pkgrel=3
-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=("https://pypi.io/packages/source/t/towncrier/towncrier-$pkgver.tar.gz")
-sha512sums=('b0654da9f90356522d8ddb029c7564be469be64bfb4684e97cae9f44e028795f54c15a8a59d5bdb2710580b5a9649fd53a500b5eadeec846108d079a3318c241')
-
-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:
Copied: towncrier/repos/community-any/PKGBUILD (from rev 930294, towncrier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-11 17:27:53 UTC (rev 930296)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=towncrier
+pkgver=21.3.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=("https://pypi.io/packages/source/t/towncrier/towncrier-$pkgver.tar.gz")
+sha512sums=('058a23dfed3a01d831be8034dd5fbdeac08bbaae3e06dfcd83fc4ac18c98ff8ac12d7c4c04e179794d40d305349c89aed0ee8f5fcd173c2793c8c24b35d58df3')
+
+prepare() {
+ cd towncrier-$pkgver
+ sed -i 's/import mock/from unittest import mock/' src/towncrier/test/test_create.py
+}
+
+build() {
+ cd towncrier-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd towncrier-$pkgver
+ PYTHONPATH="$PWD/build/lib" trial 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