Date: Saturday, April 8, 2023 @ 05:01:49
Author: felixonmars
Revision: 1441753
archrelease: copy trunk to community-staging-any
Added:
python-marshmallow-sqlalchemy/repos/community-staging-any/
python-marshmallow-sqlalchemy/repos/community-staging-any/PKGBUILD
(from rev 1441751, python-marshmallow-sqlalchemy/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-marshmallow-sqlalchemy/repos/community-staging-any/PKGBUILD
(from rev 1441751, python-marshmallow-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 05:01:49 UTC (rev 1441753)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-marshmallow-sqlalchemy
+pkgver=0.29.0
+pkgrel=2
+pkgdesc='SQLAlchemy integration with marshmallow'
+url=https://marshmallow-sqlalchemy.readthedocs.io/
+arch=(any)
+license=(MIT)
+depends=(
+ python-marshmallow
+ python-sqlalchemy
+)
+makedepends=(
+ git
+ python-setuptools
+)
+_tag=bafce3319a792768d946e536f066074e24f6a2fb
+source=(git+https://github.com/marshmallow-code/marshmallow-sqlalchemy.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd marshmallow-sqlalchemy
+
+ git describe --tags
+}
+
+build() {
+ cd marshmallow-sqlalchemy
+
+ python setup.py build
+}
+
+package() {
+ cd marshmallow-sqlalchemy
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t
"${pkgdir}"/usr/share/licenses/python-marshmallow-sqlalchemy/
+}
+
+# vim: ts=2 sw=2 et: