summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSin Kim2021-10-21 09:59:56 +0900
committerSin Kim2021-10-21 09:59:56 +0900
commitc7bc29b753283b38dd4016da6bc37e76d1f37825 (patch)
treeebe31cbee2e13d4b42e1140412968ec4a48f4412
parent30b801ae09138704202b843f9dbe9333eb87bec2 (diff)
downloadaur-c7bc29b753283b38dd4016da6bc37e76d1f37825.tar.gz
organize dependencies, remove obsolete deps
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD37
2 files changed, 42 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc3ed94c947..cc8cdfd3764 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,26 +8,33 @@ pkgbase = python-datalad
makedepends = python-setuptools
depends = python
depends = git-annex
- depends = python-msgpack
depends = python-appdirs
- depends = python-simplejson
depends = python-chardet
- depends = python-wrapt
- depends = python-secretstorage
+ depends = python-distro
depends = python-iso8601
- depends = python-fasteners
- depends = python-whoosh
- depends = python-pygithub
- depends = python-jsmin
- depends = python-keyrings-alt
- depends = python-boto
- depends = python-annexremote
depends = python-humanize
+ depends = python-fasteners
depends = patool
- depends = python-requests
depends = python-tqdm
+ depends = python-wrapt
+ depends = python-annexremote
+ depends = python-boto
depends = python-keyring
- depends = python-gitpython
+ depends = python-keyrings-alt
+ depends = python-msgpack
+ depends = python-requests
+ depends = python-pygithub
+ depends = python-gitlab
+ depends = python-simplejson
+ depends = python-whoosh
+ optdepends = python-argcomplete: optional CLI completion
+ optdepends = python-pyperclip: clipboard manipulations
+ optdepends = python-dateutil: support for more date formats
+ optdepends = python-yaml: metadata extra
+ optdepends = python-mutagen: audio metadata
+ optdepends = python-exifread: EXIF metadata
+ optdepends = python-xmp-toolkit: XMP metadata
+ optdepends = python-pillow: generic image metadata
source = datalad-0.15.2.tar.gz::https://github.com/datalad/datalad/archive/0.15.2.tar.gz
sha512sums = f0206855439c2d376172218ec6bf1ffa3277508256a5a49a2ec65a57bb5720e039481329c16459ed62eb1c9ed0126dc178ca34fa2c3b8dfdf8b8a0706a2b8658
diff --git a/PKGBUILD b/PKGBUILD
index b7aac6428c5..1043d4169c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,37 @@
# Maintainer: Liam Timms <timms5000@gmail.com>
+# Maintainer: Sin Kim <kimsin98@gmail.com>
-pkgname=python-datalad
_pkgname=datalad
+pkgname=python-$_pkgname
pkgver=0.15.2
pkgrel=1
pkgdesc='Keep code, data, containers under control with git and git-annex '
arch=('any')
url='https://github.com/datalad/datalad'
license=('MIT')
-depends=('python' 'git-annex' 'python-msgpack' 'python-appdirs' 'python-simplejson' 'python-chardet' 'python-wrapt' 'python-secretstorage' 'python-iso8601' 'python-fasteners' 'python-whoosh' 'python-pygithub' 'python-jsmin' 'python-keyrings-alt' 'python-boto' 'python-annexremote' 'python-humanize' 'patool' 'python-requests' 'python-tqdm' 'python-keyring' 'python-gitpython')
+depends=('python' 'git-annex' 'python-appdirs' 'python-chardet' 'python-distro' 'python-iso8601'
+ 'python-humanize' 'python-fasteners' 'patool' 'python-tqdm' 'python-wrapt'
+ 'python-annexremote' 'python-boto' 'python-keyring' 'python-keyrings-alt' 'python-msgpack'
+ 'python-requests' 'python-pygithub' 'python-gitlab' 'python-simplejson' 'python-whoosh')
makedepends=('python-setuptools')
-optdepends=()
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/datalad/${_pkgname}/archive/${pkgver}.tar.gz")
+optdepends=('python-argcomplete: optional CLI completion'
+ 'python-pyperclip: clipboard manipulations'
+ 'python-dateutil: support for more date formats'
+ 'python-yaml: metadata extra'
+ 'python-mutagen: audio metadata'
+ 'python-exifread: EXIF metadata'
+ 'python-xmp-toolkit: XMP metadata'
+ 'python-pillow: generic image metadata')
+source=("${_pkgname}-$pkgver.tar.gz::https://github.com/datalad/${_pkgname}/archive/$pkgver.tar.gz")
sha512sums=('f0206855439c2d376172218ec6bf1ffa3277508256a5a49a2ec65a57bb5720e039481329c16459ed62eb1c9ed0126dc178ca34fa2c3b8dfdf8b8a0706a2b8658')
-build()
-{
- cd "$srcdir/${_pkgname}-$pkgver"
- python setup.py build
+build() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ python setup.py build
}
-
-package()
-{
- cd "$srcdir/${_pkgname}-$pkgver"
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- # install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+package() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-