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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:54:52 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:54:52
  Author: foutrelis
Revision: 752880

archrelease: copy trunk to community-staging-any

Added:
  python-potr/repos/community-staging-any/
  python-potr/repos/community-staging-any/PKGBUILD
    (from rev 752879, python-potr/trunk/PKGBUILD)

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

Copied: python-potr/repos/community-staging-any/PKGBUILD (from rev 752879, python-potr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:54:52 UTC (rev 752880)
@@ -0,0 +1,34 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+# Contributor: Eliot Whalan <ewhal at pantsu dot cat>
+
+_pyname="pure-python-otr"
+pkgname=python-potr
+pkgver=1.0.2
+pkgrel=3
+pkgdesc="Pure python OTR implementation without libotr"
+arch=(any)
+url="https://github.com/afflux/pure-python-otr"
+license=('LGPL')
+depends=('python' 'python-crypto')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-rednose')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/afflux/pure-python-otr/archive/${pkgver}.tar.gz")
+sha512sums=('e35f6ea7db64af92a966b22857a1a670a1c930aa01a1bc88d5ba7e4ba62100808c193fbccbbde4d29039610a383b374c95a090fd98b208890c721e01bba87fb8')
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_pyname}-${pkgver}"
+  # tests are currently broken (https://github.com/python-otr/pure-python-otr/issues/75)
+  #./run_tests.sh
+}
+
+package() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list