[arch-commits] Commit in python-sqlalchemy/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 20 02:46:15 UTC 2015


    Date: Sunday, September 20, 2015 @ 04:46:14
  Author: foutrelis
Revision: 141126

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 141125, python-sqlalchemy/trunk/PKGBUILD)
  python-sqlalchemy/repos/community-staging-x86_64/
  python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD
    (from rev 141125, python-sqlalchemy/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   62 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   62 ++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

Copied: python-sqlalchemy/repos/community-staging-i686/PKGBUILD (from rev 141125, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-20 02:46:14 UTC (rev 141126)
@@ -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.8
+pkgrel=2
+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=('7cfd005be63945c96a78c67764ac3a85'
+         '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.5:$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-staging-x86_64/PKGBUILD (from rev 141125, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-20 02:46:14 UTC (rev 141126)
@@ -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.8
+pkgrel=2
+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=('7cfd005be63945c96a78c67764ac3a85'
+         '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.5:$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