[arch-commits] Commit in python-serpent/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 20:21:32 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:21:32
Author: foutrelis
Revision: 1058095
archrelease: copy trunk to community-staging-any
Added:
python-serpent/repos/community-staging-any/
python-serpent/repos/community-staging-any/PKGBUILD
(from rev 1058092, python-serpent/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-serpent/repos/community-staging-any/PKGBUILD (from rev 1058092, python-serpent/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:21:32 UTC (rev 1058095)
@@ -0,0 +1,26 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: razer <razer at neuf.fr>
+
+pkgname=python-serpent
+pkgver=1.40
+pkgrel=2
+pkgdesc='Serializer for literal Python expressions'
+url='https://github.com/irmen/Serpent'
+arch=(any)
+license=(MIT)
+depends=(python)
+makedepends=(git)
+checkdepends=(python-attrs python-pytz python-testtools)
+source=("git+$url#commit=29b2b7696bc89f589142f80b818533afdd59e544") # tag: serpent-1.40
+b2sums=(SKIP)
+
+check() {
+ cd Serpent
+ python setup.py test
+}
+
+package() {
+ cd Serpent
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list