[arch-commits] Commit in python-stone (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Nov 4 17:22:06 UTC 2021


    Date: Thursday, November 4, 2021 @ 17:22:05
  Author: arojas
Revision: 1036923

archrelease: copy trunk to community-any

Added:
  python-stone/repos/
  python-stone/repos/community-any/
  python-stone/repos/community-any/PKGBUILD
    (from rev 1036922, python-stone/trunk/PKGBUILD)

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

Copied: python-stone/repos/community-any/PKGBUILD (from rev 1036922, python-stone/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-11-04 17:22:05 UTC (rev 1036923)
@@ -0,0 +1,32 @@
+# Maintainer:
+
+pkgname=python-stone
+_name=${pkgname#python-}
+pkgver=3.2.1
+pkgrel=1
+pkgdesc='The Official API Spec Language for Dropbox API V2'
+arch=(any)
+url='https://github.com/dropbox/stone'
+license=(MIT)
+depends=(python python-ply python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-mock python-coverage python-pytest-runner)
+source=(https://github.com/dropbox/stone/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('05a6c9fec0b923a5e54814f31365499d6e7b726aaddfe5b8ee2d1a4b6cb06d3a')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list