[arch-commits] Commit in python-pysqlite/repos (6 files)

Felix Yan fyan at archlinux.org
Tue Nov 24 15:04:09 UTC 2015


    Date: Tuesday, November 24, 2015 @ 16:04:08
  Author: fyan
Revision: 147682

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python-pysqlite/repos/community-i686/
  python-pysqlite/repos/community-i686/PKGBUILD
    (from rev 147681, python-pysqlite/trunk/PKGBUILD)
  python-pysqlite/repos/community-i686/setup.cfg
    (from rev 147681, python-pysqlite/trunk/setup.cfg)
  python-pysqlite/repos/community-x86_64/
  python-pysqlite/repos/community-x86_64/PKGBUILD
    (from rev 147681, python-pysqlite/trunk/PKGBUILD)
  python-pysqlite/repos/community-x86_64/setup.cfg
    (from rev 147681, python-pysqlite/trunk/setup.cfg)

----------------------------+
 community-i686/PKGBUILD    |   39 +++++++++++++++++++++++++++++++++++++++
 community-i686/setup.cfg   |    5 +++++
 community-x86_64/PKGBUILD  |   39 +++++++++++++++++++++++++++++++++++++++
 community-x86_64/setup.cfg |    5 +++++
 4 files changed, 88 insertions(+)

Copied: python-pysqlite/repos/community-i686/PKGBUILD (from rev 147681, python-pysqlite/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-11-24 15:04:08 UTC (rev 147682)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pysqlite
+pkgname=python2-pysqlite
+pkgver=2.8.1
+pkgrel=2
+pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
+license=('custom')
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/pysqlite"
+depends=('python2' 'sqlite')
+conflicts=('python-pysqlite<=2.8.1-1')
+replaces=('python-pysqlite<=2.8.1-1')
+source=("https://pypi.python.org/packages/source/p/pysqlite/pysqlite-${pkgver}.tar.gz"
+        setup.cfg)
+sha256sums=('75cae18f9646f2a6137e1fb5302dba674b6982eeab3a2829377e98b13cfea066'
+         '37eeb06fdb89d5dd7674f8f8094614c21468b6b469169b1db5981632aa573dca')
+
+prepare() {
+  cp "${srcdir}/setup.cfg" pysqlite-${pkgver}
+}
+
+build() {
+  cd pysqlite-${pkgver}
+  python2 setup.py build
+}
+
+check() {
+  cd pysqlite-${pkgver}/build/lib.*/
+  python2 -c "from pysqlite2 import test; test.test()"
+}
+
+package_python2-pysqlite() {
+  cd pysqlite-${pkgver}
+  python2 setup.py install -O1 --root="${pkgdir}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -r "${pkgdir}/usr/pysqlite2-doc"
+}

Copied: python-pysqlite/repos/community-i686/setup.cfg (from rev 147681, python-pysqlite/trunk/setup.cfg)
===================================================================
--- community-i686/setup.cfg	                        (rev 0)
+++ community-i686/setup.cfg	2015-11-24 15:04:08 UTC (rev 147682)
@@ -0,0 +1,5 @@
+[build_ext]
+define=
+include_dirs=/usr/include
+library_dirs=/usr/lib
+libraries=sqlite3

Copied: python-pysqlite/repos/community-x86_64/PKGBUILD (from rev 147681, python-pysqlite/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-11-24 15:04:08 UTC (rev 147682)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pysqlite
+pkgname=python2-pysqlite
+pkgver=2.8.1
+pkgrel=2
+pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
+license=('custom')
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/pysqlite"
+depends=('python2' 'sqlite')
+conflicts=('python-pysqlite<=2.8.1-1')
+replaces=('python-pysqlite<=2.8.1-1')
+source=("https://pypi.python.org/packages/source/p/pysqlite/pysqlite-${pkgver}.tar.gz"
+        setup.cfg)
+sha256sums=('75cae18f9646f2a6137e1fb5302dba674b6982eeab3a2829377e98b13cfea066'
+         '37eeb06fdb89d5dd7674f8f8094614c21468b6b469169b1db5981632aa573dca')
+
+prepare() {
+  cp "${srcdir}/setup.cfg" pysqlite-${pkgver}
+}
+
+build() {
+  cd pysqlite-${pkgver}
+  python2 setup.py build
+}
+
+check() {
+  cd pysqlite-${pkgver}/build/lib.*/
+  python2 -c "from pysqlite2 import test; test.test()"
+}
+
+package_python2-pysqlite() {
+  cd pysqlite-${pkgver}
+  python2 setup.py install -O1 --root="${pkgdir}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -r "${pkgdir}/usr/pysqlite2-doc"
+}

Copied: python-pysqlite/repos/community-x86_64/setup.cfg (from rev 147681, python-pysqlite/trunk/setup.cfg)
===================================================================
--- community-x86_64/setup.cfg	                        (rev 0)
+++ community-x86_64/setup.cfg	2015-11-24 15:04:08 UTC (rev 147682)
@@ -0,0 +1,5 @@
+[build_ext]
+define=
+include_dirs=/usr/include
+library_dirs=/usr/lib
+libraries=sqlite3



More information about the arch-commits mailing list