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

Felix Yan felixonmars at gemini.archlinux.org
Mon Dec 20 21:21:03 UTC 2021


    Date: Monday, December 20, 2021 @ 21:21:03
  Author: felixonmars
Revision: 1080897

archrelease: copy trunk to community-any

Added:
  pypinyin/repos/community-any/PKGBUILD
    (from rev 1080896, pypinyin/trunk/PKGBUILD)
Deleted:
  pypinyin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-20 21:20:59 UTC (rev 1080896)
+++ PKGBUILD	2021-12-20 21:21:03 UTC (rev 1080897)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Štěpán Němec <stepnem at gmail.com>
-
-pkgname=pypinyin
-pkgver=0.43.0
-pkgrel=1
-pkgdesc='Chinese characters transliteration module and tool'
-arch=('any')
-url='https://github.com/mozillazg/python-pinyin'
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools' 'phrase-pinyin-data' 'pinyin-data')
-checkdepends=('python-pytest-cov')
-source=("https://github.com/mozillazg/python-pinyin/archive/v$pkgver/python-pinyin-$pkgver.tar.gz")
-sha256sums=('7775f3d76ed01ea86f265e8e7872adebbdb2ab682545090ac96cc185a4f18cfb')
-
-prepare() {
-  cd python-pinyin-$pkgver
-  ln -s /usr/share/pinyin-data/pinyin.txt pinyin-data/
-  ln -s /usr/share/phrase-pinyin-data/pinyin.txt phrase-pinyin-data/
-}
-
-build() {
-  cd python-pinyin-$pkgver
-  make gen_data
-  python setup.py build
-}
-
-check() {
-  cd python-pinyin-$pkgver
-  pytest pypinyin tests
-}
-
-package() {
-  cd python-pinyin-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: pypinyin/repos/community-any/PKGBUILD (from rev 1080896, pypinyin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-20 21:21:03 UTC (rev 1080897)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Štěpán Němec <stepnem at gmail.com>
+
+pkgname=pypinyin
+pkgver=0.44.0
+pkgrel=1
+pkgdesc='Chinese characters transliteration module and tool'
+arch=('any')
+url='https://github.com/mozillazg/python-pinyin'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'phrase-pinyin-data' 'pinyin-data')
+checkdepends=('python-pytest-cov')
+source=("https://github.com/mozillazg/python-pinyin/archive/v$pkgver/python-pinyin-$pkgver.tar.gz")
+sha256sums=('94729397969f093114f6a82c8294c2bc8c575595b74ea21a4c0219a93de06248')
+
+prepare() {
+  cd python-pinyin-$pkgver
+  ln -s /usr/share/pinyin-data/pinyin.txt pinyin-data/
+  ln -s /usr/share/phrase-pinyin-data/pinyin.txt phrase-pinyin-data/
+}
+
+build() {
+  cd python-pinyin-$pkgver
+  make gen_data
+  python setup.py build
+}
+
+check() {
+  cd python-pinyin-$pkgver
+  pytest pypinyin tests
+}
+
+package() {
+  cd python-pinyin-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list