[arch-commits] Commit in python-husl/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:08:21 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:08:21
  Author: foutrelis
Revision: 749314

archrelease: copy trunk to community-staging-any

Added:
  python-husl/repos/community-staging-any/
  python-husl/repos/community-staging-any/LICENSE
    (from rev 749313, python-husl/trunk/LICENSE)
  python-husl/repos/community-staging-any/PKGBUILD
    (from rev 749313, python-husl/trunk/PKGBUILD)

----------+
 LICENSE  |   19 +++++++++++++++++++
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: python-husl/repos/community-staging-any/LICENSE (from rev 749313, python-husl/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2020-11-10 05:08:21 UTC (rev 749314)
@@ -0,0 +1,19 @@
+Copyright (c) 2015 Alexei Boronine
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

Copied: python-husl/repos/community-staging-any/PKGBUILD (from rev 749313, python-husl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:08:21 UTC (rev 749314)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=husl
+pkgname=python-husl
+pkgver=4.0.3
+pkgrel=6
+pkgdesc="A Python implementation of HUSL (revision 3)"
+arch=('any')
+url="https://pypi.org/project/husl/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        'LICENSE')
+sha512sums=('1df5e08b24c3b815e4bf643d8bfc911aeeff25328565123122efb2a7042aea1e6e7709ed9d2c6a42390a0cece98863813a83952964c7df1dfcdc566671858034'
+            'd796b5bec7d325a897541d9fd2712fa83bb88babd4744e7ff28202f8db153696660f1d1b2e95f0fee618d98a83ae7fb635e4a412ab9c8de30f0cb27f287a4251')
+
+prepare() {
+  mv -v "$_name-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+# tests are not included. upstream contacted
+#check() {
+#  cd "$pkgname-$pkgver"
+#  python setup.py test
+#}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # license file not available. former maintainer contacted
+  install -vDm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list