[arch-commits] Commit in python2-sqlobject/repos/community-any (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Fri Jan 9 11:21:59 UTC 2015


    Date: Friday, January 9, 2015 @ 12:21:59
  Author: arodseth
Revision: 125651

archrelease: copy trunk to community-any

Added:
  python2-sqlobject/repos/community-any/PKGBUILD
    (from rev 125650, python2-sqlobject/trunk/PKGBUILD)
Deleted:
  python2-sqlobject/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 39 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-09 11:21:52 UTC (rev 125650)
+++ PKGBUILD	2015-01-09 11:21:59 UTC (rev 125651)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: Todd Maynard <arch at toddmaynard.com>
-
-pkgname=python2-sqlobject
-pkgver=1.6.3
-pkgrel=1
-pkgdesc='Provides an object interface to SQL databases'
-arch=('any')
-license=('LGPL')
-url='http://sqlobject.org/'
-depends=('python2-formencode')
-makedepends=('python2-setuptools')
-optdepends=('python2-psycopg2: PostgreSQL database support')
-source=("https://pypi.python.org/packages/source/S/SQLObject/SQLObject-$pkgver.tar.gz")
-sha256sums=('9e4d5be452d10cea43c3e5d6dfd3d17073f5bc10645dc477a6142aa18bb066ce')
-
-prepare() {
-  cd "SQLObject-$pkgver"
-
-  find . -type f -exec \
-    sed -i 's,^#!/usr/bin/env python,#!/usr/bin/env python2,' {} \;
-}
-
-package() {
-  cd "SQLObject-$pkgver"
-
-  python2 setup.py install --root="$pkgdir"
-
-  echo "/usr/lib/python2.7/site-packages/SQLObject-$pkgver-py2.6.egg" > \
-    "$pkgdir/usr/lib/python2.7/site-packages/$pkgname.pth"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python2-sqlobject/repos/community-any/PKGBUILD (from rev 125650, python2-sqlobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-01-09 11:21:59 UTC (rev 125651)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Todd Maynard <arch at toddmaynard.com>
+
+pkgname=python2-sqlobject
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Provides an object interface to SQL databases'
+arch=('any')
+license=('LGPL')
+url='http://sqlobject.org/'
+depends=('python2-formencode')
+makedepends=('python2-setuptools')
+optdepends=('python2-psycopg2: PostgreSQL database support')
+source=("https://pypi.python.org/packages/source/S/SQLObject/SQLObject-$pkgver.tar.gz")
+sha256sums=('7c3b996592a0ed88359ec11fd6668e46874ae030b5903d7b2364d48f2758c4cc')
+
+prepare() {
+  cd "SQLObject-$pkgver"
+
+  find . -type f -exec \
+    sed -i 's,^#!/usr/bin/env python,#!/usr/bin/env python2,' {} \;
+}
+
+package() {
+  cd "SQLObject-$pkgver"
+
+  python2 setup.py install --root="$pkgdir"
+
+  echo "/usr/lib/python2.7/site-packages/SQLObject-$pkgver-py2.6.egg" > \
+    "$pkgdir/usr/lib/python2.7/site-packages/$pkgname.pth"
+
+  # Removing documentation that conflicts with other packages
+  rm -rf "$pkgdir/usr/lib/python2.7/site-packages/docs"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list