mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
916 B
Bash
28 lines
916 B
Bash
# Maintainer: vorpalblade <vorpalblade77@gmail.com>
|
|
# Contributor: Anxo Beltrán <anxo.beltran.alvarez@gmail.com>
|
|
# Contributor: David Danier <david.danier@team23.de>
|
|
pkgname=python2-path
|
|
pkgver=7.3
|
|
pkgrel=1
|
|
pkgdesc="path.py provides a class (path) for working with files and directories. Less typing than os.path, more fun, a few new tricks"
|
|
arch=('any')
|
|
url="https://pypi.python.org/pypi/path.py"
|
|
license=('MIT')
|
|
depends=('python2')
|
|
makedepends=('python2-setuptools')
|
|
options=(!emptydirs)
|
|
source=(http://pypi.python.org/packages/source/p/path.py/path.py-${pkgver}.zip)
|
|
changelog=Changelog
|
|
sha256sums=('f7d146f40768e3742199a5316fbe3eb6a6091b9feedcb4b969c7348dc03151e1')
|
|
|
|
build() {
|
|
cd "${srcdir}/path.py-${pkgver}"
|
|
python2 setup.py build || return 1
|
|
}
|
|
package() {
|
|
cd ${srcdir}/path.py-${pkgver}
|
|
python2 setup.py install --root="${pkgdir}" \
|
|
--prefix=/usr \
|
|
--compile \
|
|
--optimize=1 || return 1
|
|
}
|