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

Jelle van der Waa jelle at archlinux.org
Tue Dec 17 11:07:08 UTC 2019


    Date: Tuesday, December 17, 2019 @ 11:07:08
  Author: jelle
Revision: 537921

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   66 +++++++++++++++++++++++--------------------------------------
 1 file changed, 25 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-17 11:06:55 UTC (rev 537920)
+++ PKGBUILD	2019-12-17 11:07:08 UTC (rev 537921)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-cjkwrap
-pkgname=(python-cjkwrap python2-cjkwrap)
-pkgver=2.2
-pkgrel=4
-pkgdesc="A library for wrapping and filling CJK text."
-url="https://github.com/fgallaire/cjkwrap"
-license=('LGPL')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/C/CJKwrap/CJKwrap-$pkgver.tar.gz")
-sha512sums=('59e0139daadad4d0397f0684a0c1abd5803d133e90ff7ced0adb703be02b20e430bb96a6777227640e55aca6d1aaea796bfc79b5d5b3379953e38323003cbde0')
-
-prepare() {
-  cp -a CJKwrap-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/CJKwrap-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/CJKwrap-$pkgver-py2
-  python2 setup.py build
-}
-
-package_python-cjkwrap() {
-  depends=('python')
-
-  cd CJKwrap-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-cjkwrap() {
-  depends=('python2')
-
-  cd CJKwrap-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-cjkwrap/repos/community-any/PKGBUILD (from rev 537920, python-cjkwrap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-17 11:07:08 UTC (rev 537921)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-cjkwrap
+pkgver=2.2
+pkgrel=5
+pkgdesc="A library for wrapping and filling CJK text."
+url="https://github.com/fgallaire/cjkwrap"
+license=('LGPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/C/CJKwrap/CJKwrap-$pkgver.tar.gz")
+sha512sums=('59e0139daadad4d0397f0684a0c1abd5803d133e90ff7ced0adb703be02b20e430bb96a6777227640e55aca6d1aaea796bfc79b5d5b3379953e38323003cbde0')
+
+build() {
+  cd "$srcdir"/CJKwrap-$pkgver
+  python setup.py build
+}
+
+package_python-cjkwrap() {
+  cd CJKwrap-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list