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

Balló György bgyorgy at archlinux.org
Thu Mar 7 00:24:05 UTC 2019


    Date: Thursday, March 7, 2019 @ 00:24:04
  Author: bgyorgy
Revision: 437971

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-07 00:23:49 UTC (rev 437970)
+++ PKGBUILD	2019-03-07 00:24:04 UTC (rev 437971)
@@ -1,51 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgbase=simplebayes
-pkgbase=python-simplebayes
-pkgname=(python2-simplebayes python-simplebayes)
-pkgver=1.5.7
-pkgrel=1
-pkgdesc="Memory-based, optional-persistence naïve bayesian text classifier Python library"
-arch=(any)
-url="https://github.com/hickeroar/simplebayes"
-license=(MIT)
-depends=(python python2)
-makedepends=(git python-setuptools python2-setuptools)
-_commit=b8da72c50d20b6f8c0df2c2f39620715b08ddd32  # tags/1.5.7
-source=("git+https://github.com/hickeroar/simplebayes#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $_pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cp -a $_pkgbase{,-py2}
-}
-
-build() {
-  # Building Python2
-  cd $_pkgbase-py2
-  python2 setup.py build
-
-  # Building Python3
-  cd ../$_pkgbase
-  python3 setup.py build
-}
-
-package_python2-simplebayes() {
-  depends=(python2)
-
-  cd $_pkgbase-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python-simplebayes() {
-  depends=(python)
-
-  cd $_pkgbase
-  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 437970, python-simplebayes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-07 00:24:04 UTC (rev 437971)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=simplebayes
+pkgname=python-simplebayes
+pkgver=1.5.7
+pkgrel=2
+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