[arch-commits] Commit in rofimoji/repos/community-any (4 files)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Jul 17 17:06:03 UTC 2022
Date: Sunday, July 17, 2022 @ 17:06:03
Author: polyzen
Revision: 1254328
archrelease: copy trunk to community-any
Added:
rofimoji/repos/community-any/PKGBUILD
(from rev 1254327, rofimoji/trunk/PKGBUILD)
rofimoji/repos/community-any/rofimoji.install
(from rev 1254327, rofimoji/trunk/rofimoji.install)
Deleted:
rofimoji/repos/community-any/PKGBUILD
rofimoji/repos/community-any/rofimoji.install
------------------+
PKGBUILD | 96 +++++++++++++++++++++++++----------------------------
rofimoji.install | 12 +++---
2 files changed, 53 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-17 17:05:39 UTC (rev 1254327)
+++ PKGBUILD 2022-07-17 17:06:03 UTC (rev 1254328)
@@ -1,49 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=rofimoji
-pkgver=5.4.0
-pkgrel=3
-pkgdesc='Character picker for rofi'
-arch=('any')
-url=https://github.com/fdw/rofimoji
-license=('MIT')
-depends=('python-configargparse')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
-optdepends=('emoji-font: for the emojis character file'
- 'nerd-fonts: for the nerd_font character file'
- 'rofi: for the X.Org selector'
- 'xclip: for one of the X.Org clipboarders'
- 'xsel: for one of the X.Org clipboarders'
- 'xdotool: for the X.Org typer'
- 'wofi: for the Wayland selector'
- 'wl-clipboard: for the Wayland clipboarder'
- 'wtype: for the Wayland typer')
-install=$pkgname.install
-source=("https://files.pythonhosted.org/packages/source/${pkgname::2}/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('7c87d4c88382cc85a7b0ea2adb998f383c1310a04749bf0b3a7ddb4fb42a0a37')
-b2sums=('44bde09f725d8a483b4be93aa64d15fd00c6c7dd555a6f8e0d2ac9e46f8c179833784c6716345c8eea44dd3dbba1475447560fb9d422a545a1bd90c9e2691425')
-
-prepare() {
- cd $pkgname-$pkgver
- # Remove data_files section https://github.com/pypa/wheel/issues/92
- sed -i '/\[options.data_files\]/,/^$/d' setup.cfg
-}
-
-build() {
- cd $pkgname-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
- cd $pkgname-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1
-
- # Symlink license file
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rofimoji/repos/community-any/PKGBUILD (from rev 1254327, rofimoji/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-17 17:06:03 UTC (rev 1254328)
@@ -0,0 +1,47 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=rofimoji
+pkgver=5.5.0
+pkgrel=1
+pkgdesc='Character picker for rofi'
+arch=('any')
+url=https://github.com/fdw/rofimoji
+license=('MIT')
+depends=('python-configargparse')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+optdepends=('emoji-font: for the emojis character file'
+ 'nerd-fonts: for the nerd_font character file'
+ 'rofi: for the X.Org selector'
+ 'xclip: for one of the X.Org clipboarders'
+ 'xsel: for one of the X.Org clipboarders'
+ 'xdotool: for the X.Org typer'
+ 'wofi: for the Wayland selector'
+ 'wl-clipboard: for the Wayland clipboarder'
+ 'wtype: for the Wayland typer')
+install=$pkgname.install
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('78618b5d5e22f1de05f5eb7ff57530ef65273edcff3cb47d996f075f5676ee58')
+b2sums=('232787efd2d5e0136f48b324075b8c69875a63a49f257d42ad95ed3b0a246d5d0b09c89044d65ce4a72352ddcf4f2b49df5f3dfd0963c06ebd931c70a8955933')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Remove data_files section https://github.com/pypa/wheel/issues/92
+ sed -i '/\[options.data_files\]/,/^$/d' setup.cfg
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1
+
+ # Symlink license file
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Deleted: rofimoji.install
===================================================================
--- rofimoji.install 2022-07-17 17:05:39 UTC (rev 1254327)
+++ rofimoji.install 2022-07-17 17:06:03 UTC (rev 1254328)
@@ -1,6 +0,0 @@
-post_install() {
- cat << EOF
-rofimoji requires an appropriate "selector", "clipboarder", and "typer" to be
-installed for your display server.
-EOF
-}
Copied: rofimoji/repos/community-any/rofimoji.install (from rev 1254327, rofimoji/trunk/rofimoji.install)
===================================================================
--- rofimoji.install (rev 0)
+++ rofimoji.install 2022-07-17 17:06:03 UTC (rev 1254328)
@@ -0,0 +1,6 @@
+post_install() {
+ cat << EOF
+rofimoji requires an appropriate "selector", "clipboarder", and "typer" to be
+installed for your display server.
+EOF
+}
More information about the arch-commits
mailing list