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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 15:15:55 UTC 2019


    Date: Friday, October 25, 2019 @ 15:15:54
  Author: foutrelis
Revision: 518953

archrelease: copy trunk to community-staging-any

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

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

Copied: python-simplebayes/repos/community-staging-any/PKGBUILD (from rev 518952, python-simplebayes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:15:54 UTC (rev 518953)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=simplebayes
+pkgname=python-simplebayes
+pkgver=1.5.7
+pkgrel=3
+pkgdesc="Memory-based, optional-persistence naïve bayesian text classifier Python library"
+arch=(any)
+url="https://github.com/hickeroar/simplebayes"
+license=(MIT)
+depends=(python)
+makedepends=(git python-setuptools)
+_commit=b8da72c50d20b6f8c0df2c2f39620715b08ddd32  # tags/1.5.7
+source=("git+https://github.com/hickeroar/simplebayes#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  cd $_pkgname
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list