[arch-commits] Commit in python-remoto/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:01:01 UTC 2020
Date: Thursday, November 12, 2020 @ 19:01:01
Author: felixonmars
Revision: 753306
archrelease: copy trunk to community-staging-any
Added:
python-remoto/repos/community-staging-any/
python-remoto/repos/community-staging-any/PKGBUILD
(from rev 753305, python-remoto/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-remoto/repos/community-staging-any/PKGBUILD (from rev 753305, python-remoto/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:01:01 UTC (rev 753306)
@@ -0,0 +1,37 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Justin Benge <justinbng36 at gmail.com>
+
+pkgname=python-remoto
+_pkgbase="${pkgname//python-/}"
+pkgver=1.1.4
+pkgrel=2
+pkgdesc="A very simplistic remote-command-executor using connections to hosts"
+arch=('any')
+url="https://github.com/alfredodeza/${_pkgbase}"
+license=('MIT')
+depends=('python' 'python-execnet')
+makedepends=('git' 'python' 'python-execnet' 'python-setuptools')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('b62bcbed66687c0d351d4b7937db11a27cba3cf4789a401d826caec3f0418490')
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ :
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ py.test -v remoto/tests
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list