[arch-commits] Commit in pypinyin/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Dec 13 10:54:25 UTC 2021
Date: Monday, December 13, 2021 @ 10:54:24
Author: felixonmars
Revision: 1071446
archrelease: copy trunk to community-any
Added:
pypinyin/repos/community-any/PKGBUILD
(from rev 1071445, pypinyin/trunk/PKGBUILD)
Deleted:
pypinyin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-13 10:54:17 UTC (rev 1071445)
+++ PKGBUILD 2021-12-13 10:54:24 UTC (rev 1071446)
@@ -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.42.0
-pkgrel=2
-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=('56b665413b716ac05d362a99c2917212f8beb126cce381afa393eb39304d00ff')
-
-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 1071445, pypinyin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-13 10:54:24 UTC (rev 1071446)
@@ -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.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/
+}
More information about the arch-commits
mailing list