[arch-commits] Commit in python-remoto/repos (community-any community-any/PKGBUILD)

Thore Bödecker foxxx0 at archlinux.org
Thu Jan 9 07:58:40 UTC 2020


    Date: Thursday, January 9, 2020 @ 07:58:40
  Author: foxxx0
Revision: 550979

archrelease: copy trunk to community-any

Added:
  python-remoto/repos/community-any/
  python-remoto/repos/community-any/PKGBUILD
    (from rev 550978, python-remoto/trunk/PKGBUILD)

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

Copied: python-remoto/repos/community-any/PKGBUILD (from rev 550978, python-remoto/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-01-09 07:58:40 UTC (rev 550979)
@@ -0,0 +1,38 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Justin Benge <justinbng36 at gmail.com>
+
+pkgname=python-remoto
+_pkgbase="${pkgname//python-/}"
+pkgver=1.1.0
+pkgrel=3
+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=('3e9d9898b88b5993df985bad22382df0fbd9ecb3ca8052e2443f81b5a0eb521a')
+
+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