[arch-commits] Commit in python-sqlalchemy/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Mar 18 11:16:02 UTC 2014
Date: Tuesday, March 18, 2014 @ 12:16:02
Author: fyan
Revision: 107660
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-sqlalchemy/repos/community-staging-i686/
python-sqlalchemy/repos/community-staging-i686/PKGBUILD
(from rev 107659, python-sqlalchemy/trunk/PKGBUILD)
python-sqlalchemy/repos/community-staging-x86_64/
python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD
(from rev 107659, python-sqlalchemy/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
Copied: python-sqlalchemy/repos/community-staging-i686/PKGBUILD (from rev 107659, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-03-18 11:16:02 UTC (rev 107660)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgbase=python-sqlalchemy
+pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
+pkgver=0.9.3
+pkgrel=2
+arch=('i686' 'x86_64') # python2 package contain .so
+url="http://www.sqlalchemy.org/"
+license=('custom: MIT')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose')
+source=("https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz")
+md5sums=('a27989b9d4b3f14ea0b1600aa45559c4')
+
+build() {
+ cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
+ cd SQLAlchemy-$pkgver
+ python setup.py build
+ cd ../SQLAlchemy2-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd SQLAlchemy-${pkgver}
+ python setup.py check
+ python2 setup.py check
+
+}
+
+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-staging-x86_64/PKGBUILD (from rev 107659, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-03-18 11:16:02 UTC (rev 107660)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgbase=python-sqlalchemy
+pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
+pkgver=0.9.3
+pkgrel=2
+arch=('i686' 'x86_64') # python2 package contain .so
+url="http://www.sqlalchemy.org/"
+license=('custom: MIT')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose')
+source=("https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz")
+md5sums=('a27989b9d4b3f14ea0b1600aa45559c4')
+
+build() {
+ cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
+ cd SQLAlchemy-$pkgver
+ python setup.py build
+ cd ../SQLAlchemy2-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd SQLAlchemy-${pkgver}
+ python setup.py check
+ python2 setup.py check
+
+}
+
+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