[arch-commits] Commit in python-boolean.py/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:04 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:18:04
Author: felixonmars
Revision: 1057947
archrelease: copy trunk to community-staging-any
Added:
python-boolean.py/repos/community-staging-any/
python-boolean.py/repos/community-staging-any/PKGBUILD
(from rev 1057941, python-boolean.py/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-boolean.py/repos/community-staging-any/PKGBUILD (from rev 1057941, python-boolean.py/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:18:04 UTC (rev 1057947)
@@ -0,0 +1,36 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Max Mehl <aur at mehl dot mx>
+# SPDX-FileCopyrightText: 2019 Max Mehl
+# SPDX-License-Identifier: CC0-1.0
+
+pkgname='python-boolean.py'
+_name=${pkgname#python-}
+pkgver=3.8
+pkgrel=4
+pkgdesc='Implements boolean algebra in one module'
+arch=('any')
+url='https://github.com/bastikr/boolean.py'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bastikr/boolean.py/archive/v$pkgver.tar.gz")
+sha512sums=('d41ce9a05743342c116d68b88ea36be316ac9fc190a8451aca97b52fde60c58ec49d36d2dee071f83fb5f6ad49337da80bf9de1bf3d479b46386fd87e4cf2f14')
+
+build() {
+ cd "$_name-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$_name-$pkgver"
+ python3 -m unittest discover --verbose
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list