blob: d4cc453027b8e5a199ba1f98aa3d7de9455809c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=mail-deduplicate
_pkgname=mail_deduplicate
pkgver=7.6.1
pkgrel=1
pkgdesc='Command-line tool to deduplicate mails from a set of boxes'
arch=(any)
license=(GPL2)
url="https://mail-deduplicate.readthedocs.io/"
depends=(python python-arrow python-boltons python-click-extra
python-tabulate)
makedepends=(python-build python-installer python-setuptools python-wheel)
replaces=(maildir-deduplicate)
conflicts=(maildir-deduplicate)
provides=(maildir-deduplicate)
source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=(48b9c955045838c342cb5c5f57ca1a8456e6d597a72464237a86d6aff8d3ad42)
build() {
cd $_pkgname-$pkgver
python -m build --wheel --no-isolation
}
check(){
cd $_pkgname-$pkgver
# blows up
#pytest
}
package () {
cd $_pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|