mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
Merge pull request #1012 from jarondl/add-guessit-paver-babelfish
add python2-babelfish python2-guessit and python2-paver
This commit is contained in:
commit
9172737824
3 changed files with 66 additions and 0 deletions
22
aur/python2-babelfish/PKGBUILD
Normal file
22
aur/python2-babelfish/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Maintainer: Quentin Stievenart <acieroid@awesom.eu>
|
||||||
|
name='babelfish'
|
||||||
|
pkgname=python2-$name
|
||||||
|
pkgver=0.5.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A module to work with countries and languages"
|
||||||
|
arch=('any')
|
||||||
|
url="http://pypi.python.org/pypi/$name"
|
||||||
|
license=('BSD')
|
||||||
|
makedepends=('python2-setuptools')
|
||||||
|
depends=('python2')
|
||||||
|
options=(!emptydirs)
|
||||||
|
|
||||||
|
source=("http://pypi.python.org/packages/source/b/$name/$name-$pkgver.tar.gz")
|
||||||
|
md5sums=('3908d188deca599ded905d74d1ba2f39')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$name-$pkgver"
|
||||||
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
18
aur/python2-guessit/PKGBUILD
Normal file
18
aur/python2-guessit/PKGBUILD
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Maintainer: Santi Villalba <sdvillal@gmail.com>
|
||||||
|
pkgname=python2-guessit
|
||||||
|
pkgver=0.9.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A library for guessing information from video files."
|
||||||
|
arch=(any)
|
||||||
|
url="http://pypi.python.org/pypi/guessit"
|
||||||
|
license=(LGPL)
|
||||||
|
depends=(python2 python2-babelfish python2-stevedore)
|
||||||
|
makedepends=(python2-distribute)
|
||||||
|
conflicts=(${pkgname}-git)
|
||||||
|
source=(http://pypi.python.org/packages/source/g/guessit/guessit-${pkgver}.tar.gz)
|
||||||
|
md5sums=('b7e79815ef5a057dad4698b61e932953')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/guessit-${pkgver}"
|
||||||
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||||
|
}
|
26
aur/python2-paver/PKGBUILD
Normal file
26
aur/python2-paver/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Maintainer: ponsfoot <cabezon dot hashimoto at gmail dot com>
|
||||||
|
# Contributor: Linmiao Xu <linmiao.xu@gmail.com>
|
||||||
|
# Contributor: Roberto Alsina <ralsina@kde.org>
|
||||||
|
|
||||||
|
pkgname=python2-paver
|
||||||
|
pkgver=1.2.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Build, Distribute and Deploy Python Projects"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://www.blueskyonmars.com/projects/paver/"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('python2')
|
||||||
|
source=(http://pypi.python.org/packages/source/P/Paver/Paver-${pkgver}.tar.gz)
|
||||||
|
md5sums=('0b23c15a2d881f59c4a4c6a1f597cb9f')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/Paver-${pkgver}"
|
||||||
|
python2 setup.py install --prefix="${pkgdir}/usr"
|
||||||
|
install -D "${srcdir}/Paver-${pkgver}/LICENSE.txt" \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||||
|
|
||||||
|
# fix python3 conflict
|
||||||
|
for _f in "$pkgdir"/usr/bin/*; do
|
||||||
|
mv -v "$_f" "${_f}2"
|
||||||
|
done
|
||||||
|
}
|
Loading…
Reference in a new issue