blob: 6aff35995c0504bbfd52b79a5be9ba4728dac745 (
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
36
37
38
39
40
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-pathtools
pkgver=0.1.2
pkgrel=0
pkgdesc="Path utilities for Python"
url="https://github.com/gorakhargosh/pathtools"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools python-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/p/pathtools/pathtools-$pkgver.tar.gz"
_builddir="$srcdir"/pathtools-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="9a1af5c605768ea5804b03b734ff0f82 pathtools-0.1.2.tar.gz"
sha256sums="7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0 pathtools-0.1.2.tar.gz"
sha512sums="e014cb17f3d61ce7979e36663f94a44d4f1116c35e3d2ec8c4ac207a81935dde246495ed06597e6edade1509f384b9e5729a97ffd3eec31b1d1c4a8372d1dfd7 pathtools-0.1.2.tar.gz"
|