[arch-commits] Commit in python-setuptools-git/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:17:30 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:17:30
  Author: felixonmars
Revision: 1057925

archrelease: copy trunk to community-staging-any

Added:
  python-setuptools-git/repos/community-staging-any/
  python-setuptools-git/repos/community-staging-any/PKGBUILD
    (from rev 1057924, python-setuptools-git/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-setuptools-git/repos/community-staging-any/PKGBUILD (from rev 1057924, python-setuptools-git/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:17:30 UTC (rev 1057925)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-setuptools-git
+pkgver=1.2
+pkgrel=7
+pkgdesc='Setuptools revision control system plugin for Git'
+arch=('any')
+license=('BSD')
+url='https://github.com/msabramo/setuptools-git'
+depends=('python-setuptools' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/msabramo/setuptools-git/archive/$pkgver.tar.gz")
+sha512sums=('368d56003a440c5be00685356b0aef97fdea4a84a6d4e56d59964833b55de4916353e061f2eebf2de4dac2df4783a0a1b2d58ba88e1a93979b38a2b62900c1c1')
+
+build() {
+  cd "$srcdir"/setuptools-git-$pkgver
+  python setup.py build
+}
+
+check() {
+  git config --global user.email "deedbeaf"
+
+  cd "$srcdir"/setuptools-git-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd setuptools-git-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list