[arch-commits] Commit in (6 files)
Maxime Gauduin
alucryd at archlinux.org
Mon Oct 22 10:07:19 UTC 2018
Date: Monday, October 22, 2018 @ 10:07:19
Author: alucryd
Revision: 398334
Add 2 marshmallow related python packages
Added:
python-flask-marshmallow/
python-flask-marshmallow/trunk/
python-flask-marshmallow/trunk/PKGBUILD
python-marshmallow-sqlalchemy/
python-marshmallow-sqlalchemy/trunk/
python-marshmallow-sqlalchemy/trunk/PKGBUILD
----------------------------------------------+
python-flask-marshmallow/trunk/PKGBUILD | 28 +++++++++++++++++++++++++
python-marshmallow-sqlalchemy/trunk/PKGBUILD | 28 +++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Added: python-flask-marshmallow/trunk/PKGBUILD
===================================================================
--- python-flask-marshmallow/trunk/PKGBUILD (rev 0)
+++ python-flask-marshmallow/trunk/PKGBUILD 2018-10-22 10:07:19 UTC (rev 398334)
@@ -0,0 +1,28 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-flask-marshmallow
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Flask + marshmallow for beautiful APIs'
+url='http://flask-marshmallow.readthedocs.io/'
+arch=('any')
+license=('MIT')
+depends=('python-flask' 'python-marshmallow')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd flask-marshmallow
+
+ python setup.py build
+}
+
+package() {
+ cd flask-marshmallow
+
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-flask-marshmallow
+}
+
+# vim: ts=2 sw=2 et:
Added: python-marshmallow-sqlalchemy/trunk/PKGBUILD
===================================================================
--- python-marshmallow-sqlalchemy/trunk/PKGBUILD (rev 0)
+++ python-marshmallow-sqlalchemy/trunk/PKGBUILD 2018-10-22 10:07:19 UTC (rev 398334)
@@ -0,0 +1,28 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-marshmallow-sqlalchemy
+pkgver=0.14.1
+pkgrel=1
+pkgdesc='SQLAlchemy integration with marshmallow'
+url='https://marshmallow-sqlalchemy.readthedocs.io/'
+arch=('any')
+license=('MIT')
+depends=('python-marshmallow' 'python-sqlalchemy')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/marshmallow-code/marshmallow-sqlalchemy.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd marshmallow-sqlalchemy
+
+ python setup.py build
+}
+
+package() {
+ cd marshmallow-sqlalchemy
+
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-marshmallow-sqlalchemy
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list