[arch-commits] Commit in python-euclid3/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:59:22 UTC 2020


    Date: Monday, November 9, 2020 @ 15:59:22
  Author: felixonmars
Revision: 747283

archrelease: copy trunk to community-staging-any

Added:
  python-euclid3/repos/community-staging-any/
  python-euclid3/repos/community-staging-any/PKGBUILD
    (from rev 747281, python-euclid3/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-euclid3/repos/community-staging-any/PKGBUILD (from rev 747281, python-euclid3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:59:22 UTC (rev 747283)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=euclid3
+pkgname=python-$_pkgname
+pkgver=0.01
+pkgrel=2
+pkgdesc='2D and 3D vector, matrix, quaternion and geometry module'
+arch=('any')
+url='https://pypi.org/project/euclid3'
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha512sums=('c4e5e2770ab4ede08904fc3b76e50d6812944ed226c9db52f2da8d100370e20ea6031ca554ae44d72d53e96727d163bd3cc8da7bf175539de10749da77877b0b')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 README "$pkgdir"/usr/share/licenses/$pkgname/README
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list