blob: e1d45e397ec33bb1f63d9bec54b3230945a38f57 (
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
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-atomicwrites
_pkgname=python-atomicwrites
pkgver=1.4.0
pkgrel=0
pkgdesc="Powerful Python3 library for atomic file writes"
url="https://github.com/untitaker/python-atomicwrites"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check" # requires pytest which depends on this aport (cyclic dep)
source="https://github.com/untitaker/python-atomicwrites/archive/$pkgver/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-atomicwrites" # Backwards compatibility
provides="py-atomicwrites=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="49b0eaa1058ebe1501756e6186264973537f5dea1c1d653f0dc7b2aa03635459f935a16a5a8fec4abfb55d29078df9d09f47bd2e7766a5aaf3063fe1261f63a1 python-atomicwrites-1.4.0.tar.gz"
|