[arch-commits] Commit in python-simplebayes/repos/community-any (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Jun 3 18:12:17 UTC 2021


    Date: Thursday, June 3, 2021 @ 18:12:17
  Author: bgyorgy
Revision: 955717

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-03 18:12:11 UTC (rev 955716)
+++ PKGBUILD	2021-06-03 18:12:17 UTC (rev 955717)
@@ -1,31 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgname=simplebayes
-pkgname=python-simplebayes
-pkgver=1.5.7
-pkgrel=6
-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"
-}

Copied: python-simplebayes/repos/community-any/PKGBUILD (from rev 955716, python-simplebayes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-03 18:12:17 UTC (rev 955717)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=simplebayes
+pkgname=python-simplebayes
+pkgver=1.5.7
+pkgrel=7
+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=('python-setuptools')
+checkdepends=('python-nose' 'python-mock')
+source=("https://github.com/hickeroar/$_pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('71cb029768bd25c172bdb3bd37174d42f872da92c33329ec736c3748ffa3b4a7')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  nosetests
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list