[arch-commits] Commit in python-pony/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 9 00:25:02 UTC 2021
Date: Thursday, December 9, 2021 @ 00:25:02
Author: felixonmars
Revision: 1065730
archrelease: copy trunk to community-staging-any
Added:
python-pony/repos/community-staging-any/
python-pony/repos/community-staging-any/PKGBUILD
(from rev 1065729, python-pony/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: python-pony/repos/community-staging-any/PKGBUILD (from rev 1065729, python-pony/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-09 00:25:02 UTC (rev 1065730)
@@ -0,0 +1,39 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pony
+pkgname=python-$_pkgname
+pkgver=0.7.14
+pkgrel=3
+pkgdesc='Pony Object Relational Mapper'
+arch=('any')
+url='https://github.com/ponyorm/pony'
+depends=('python')
+makedepends=('python-setuptools' 'git')
+license=('Apache')
+#source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+_commit=54fbc80f8a9d3469d7687e1751b1679252a6a910 # py_3_10_dev
+source=(git+https://github.com/ponyorm/pony#commit=$_commit)
+sha512sums=('SKIP')
+
+build() {
+ #cd $_pkgname-$pkgver
+ cd $_pkgname
+
+ python setup.py build
+}
+
+check() {
+ #cd $_pkgname-$pkgver
+ cd $_pkgname
+
+ python setup.py test
+}
+
+package() {
+ #cd $_pkgname-$pkgver
+ cd $_pkgname
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ rm -rf "$pkgdir"/usr/lib/python*/site-packages/pony/orm/tests
+}
More information about the arch-commits
mailing list