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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 14:20:17 UTC 2019


    Date: Tuesday, April 2, 2019 @ 14:20:15
  Author: felixonmars
Revision: 447778

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   52 ++++++++++++++++++----------------------------------
 1 file changed, 18 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 14:19:56 UTC (rev 447777)
+++ PKGBUILD	2019-04-02 14:20:15 UTC (rev 447778)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jieba
-pkgname=(python-jieba python2-jieba)
-pkgver=0.39
-pkgrel=2
-pkgdesc="Chinese Words Segementation Utilities"
-arch=('any')
-url='https://github.com/fxsjy/jieba'
-license=('MIT')
-makedepends=('python' 'python2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/fxsjy/jieba/archive/v$pkgver.tar.gz")
-sha512sums=('2d8d25604265c8952dbed1a584548490b6b4f183cc3f09956c689c240d8b545f8f8aa09b5e25620539c45e08a77ac2be85f0ad228ab3c4100a1962b11caf5ea5')
-
-prepare() {
-  cp -a jieba-$pkgver{,-py2}
-}
-
-package_python-jieba() {
-  depends=('python')
-
-  cd jieba-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-jieba() {
-  depends=('python2')
-
-  cd jieba-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-jieba/repos/community-any/PKGBUILD (from rev 447777, python-jieba/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 14:20:15 UTC (rev 447778)
@@ -0,0 +1,18 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jieba
+pkgver=0.39
+pkgrel=3
+pkgdesc="Chinese Words Segementation Utilities"
+arch=('any')
+url='https://github.com/fxsjy/jieba'
+license=('MIT')
+depends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/fxsjy/jieba/archive/v$pkgver.tar.gz")
+sha512sums=('2d8d25604265c8952dbed1a584548490b6b4f183cc3f09956c689c240d8b545f8f8aa09b5e25620539c45e08a77ac2be85f0ad228ab3c4100a1962b11caf5ea5')
+
+package() {
+  cd jieba-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list