[arch-commits] Commit in python-sqlalchemy/repos (4 files)
Felix Yan
fyan at archlinux.org
Fri Apr 17 03:48:55 UTC 2015
Date: Friday, April 17, 2015 @ 05:48:54
Author: fyan
Revision: 131524
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
python-sqlalchemy/repos/community-testing-i686/
python-sqlalchemy/repos/community-testing-i686/PKGBUILD
(from rev 131523, python-sqlalchemy/trunk/PKGBUILD)
python-sqlalchemy/repos/community-testing-x86_64/
python-sqlalchemy/repos/community-testing-x86_64/PKGBUILD
(from rev 131523, python-sqlalchemy/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++
2 files changed, 124 insertions(+)
Copied: python-sqlalchemy/repos/community-testing-i686/PKGBUILD (from rev 131523, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-04-17 03:48:54 UTC (rev 131524)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgbase=python-sqlalchemy
+pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
+pkgver=1.0.0
+pkgrel=1
+arch=('i686' 'x86_64') # python2 package contain .so
+url="http://www.sqlalchemy.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
+source=("https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
+md5sums=('4e6835135f13fe00ac7f3d175d7e4e08'
+ 'SKIP')
+
+prepare() {
+ cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
+}
+
+build() {
+ cd SQLAlchemy-$pkgver
+ python setup.py build
+
+ cd ../SQLAlchemy2-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd SQLAlchemy-${pkgver}
+ PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.4:$PYTHONPATH" py.test
+
+ cd ../SQLAlchemy2-$pkgver
+ PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+}
+
+package_python-sqlalchemy() {
+ pkgdesc='Python SQL toolkit and Object Relational Mapper'
+ depends=('python')
+ optdepends=('python-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-sqlalchemy() {
+ pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
+ depends=('python2')
+ optdepends=('python2-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy2-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Copied: python-sqlalchemy/repos/community-testing-x86_64/PKGBUILD (from rev 131523, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-04-17 03:48:54 UTC (rev 131524)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgbase=python-sqlalchemy
+pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
+pkgver=1.0.0
+pkgrel=1
+arch=('i686' 'x86_64') # python2 package contain .so
+url="http://www.sqlalchemy.org/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
+source=("https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
+md5sums=('4e6835135f13fe00ac7f3d175d7e4e08'
+ 'SKIP')
+
+prepare() {
+ cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
+}
+
+build() {
+ cd SQLAlchemy-$pkgver
+ python setup.py build
+
+ cd ../SQLAlchemy2-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd SQLAlchemy-${pkgver}
+ PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.4:$PYTHONPATH" py.test
+
+ cd ../SQLAlchemy2-$pkgver
+ PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+}
+
+package_python-sqlalchemy() {
+ pkgdesc='Python SQL toolkit and Object Relational Mapper'
+ depends=('python')
+ optdepends=('python-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-sqlalchemy() {
+ pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
+ depends=('python2')
+ optdepends=('python2-psycopg2: connect to PostgreSQL database')
+
+ cd SQLAlchemy2-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
More information about the arch-commits
mailing list