[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Nov 4 17:21:50 UTC 2021
Date: Thursday, November 4, 2021 @ 17:21:47
Author: arojas
Revision: 1036922
New python-dropbox dependency
Added:
python-stone/
python-stone/trunk/
python-stone/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: python-stone/trunk/PKGBUILD
===================================================================
--- python-stone/trunk/PKGBUILD (rev 0)
+++ python-stone/trunk/PKGBUILD 2021-11-04 17:21:47 UTC (rev 1036922)
@@ -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