[arch-commits] Commit in python-emoji/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:44:19 UTC 2021


    Date: Friday, December 3, 2021 @ 00:44:19
  Author: felixonmars
Revision: 1064011

archrelease: copy trunk to community-staging-any

Added:
  python-emoji/repos/community-staging-any/
  python-emoji/repos/community-staging-any/PKGBUILD
    (from rev 1064008, python-emoji/trunk/PKGBUILD)

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

Copied: python-emoji/repos/community-staging-any/PKGBUILD (from rev 1064008, python-emoji/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:44:19 UTC (rev 1064011)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-emoji
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Emoji for Python"
+url="https://github.com/carpedm20/emoji"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/e/emoji/emoji-$pkgver.tar.gz")
+sha512sums=('29a4560d2d63eee4a8eebb87ddaca20ed55aef410abb2f8d1397c02eceb1853b29955a7540e83e782a4d1d7a2780af70f39cece35f4708ade7582bcb8008e1c0')
+
+build() {
+  cd emoji-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd emoji-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd emoji-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list