Created
October 20, 2014 15:10
-
-
Save Narrat/c2bee52c2a3fc4ddc719 to your computer and use it in GitHub Desktop.
SplitPKGBuild for mongoengine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgbase=mongoengine | |
pkgname=('python-mongoengine' 'python2-mongoengine') | |
pkgver=0.8.7 | |
pkgrel=1 | |
pkgdesc="Document-Object Mapper for working with MongoDB from Python" | |
arch=('any') | |
url="http://mongoengine.org/" | |
license=('MIT') | |
makedepends=('python-setuptools' 'python2-setuptools' 'python-pymongo' 'python2-pymongo') | |
options=(!emptydirs) | |
source=(http://pypi.python.org/packages/source/m/$pkgbase/$pkgbase-$pkgver.tar.gz) | |
md5sums=('189d7c833519c3483cf69f59b6a51dc7') | |
package_python-mongoengine(){ | |
pkgdesc+="3.x" | |
depends=('python-pymongo') | |
cd $srcdir/$pkgbase-$pkgver | |
python setup.py install --prefix=/usr --root=$pkgdir | |
} | |
package_python2-mongoengine(){ | |
pkgdesc+="2.x" | |
depends=('python2-pymongo') | |
cd $srcdir/$pkgbase-$pkgver | |
python2 setup.py install --prefix=/usr --root=$pkgdir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment