summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--.nvchecker.toml3
-rw-r--r--PKGBUILD24
4 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..0f6d7e2a9ce5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-sqlobject
+ pkgdesc = SQLObject, an object-relational mapper for Python
+ pkgver = 3.11.0
+ pkgrel = 3
+ url = http://sqlobject.org/
+ arch = any
+ license = LGPL
+ makedepends = python-setuptools
+ depends = python-pydispatcher
+ depends = python-formencode
+ source = python-sqlobject-3.11.0.tar.gz::https://github.com/sqlobject/sqlobject/archive/3.11.0.tar.gz
+ sha256sums = 2c74bb1a031f63d85bf1177746803982a8f62e4c5dd06961423a02391c593a7a
+
+pkgname = python-sqlobject
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..20fd07ee77c8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.zst
+src/
+pkg/
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 000000000000..abc4a78a4d34
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,3 @@
+[python-sqlobject]
+source = "pypi"
+pypi = "sqlobject"
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..d677210f64bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Jose Lopes <josemslopes at gmail dot com>
+# Contributor: Morten Linderud <foxboron@archlinux.org>
+
+pkgname=python-sqlobject
+pkgver=3.11.0
+pkgrel=3
+pkgdesc="SQLObject, an object-relational mapper for Python"
+url="http://sqlobject.org/"
+arch=('any')
+license=('LGPL')
+depends=('python-pydispatcher' 'python-formencode')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sqlobject/sqlobject/archive/${pkgver}.tar.gz")
+sha256sums=('2c74bb1a031f63d85bf1177746803982a8f62e4c5dd06961423a02391c593a7a')
+
+build(){
+ cd "sqlobject-$pkgver"
+ python setup.py build
+}
+
+package_python-sqlobject() {
+ cd "sqlobject-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}