Date: Saturday, April 22, 2023 @ 07:48:46
Author: alerque
Revision: 1448240
archrelease: copy trunk to community-staging-any
Added:
ranger/repos/community-staging-any/PKGBUILD
(from rev 1448239, ranger/trunk/PKGBUILD)
ranger/repos/community-staging-any/keys/
Deleted:
ranger/repos/community-staging-any/PKGBUILD
ranger/repos/community-staging-any/keys/
----------+
PKGBUILD | 106 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 59 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-22 07:48:35 UTC (rev 1448239)
+++ PKGBUILD 2023-04-22 07:48:46 UTC (rev 1448240)
@@ -1,47 +0,0 @@
-# Maintainer: schuay <[email protected]>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Previous maintainer: Roman Zimbelmann <[email protected]>
-
-pkgname=ranger
-pkgver=1.9.3
-pkgrel=7
-pkgdesc='Simple, vim-like file manager'
-arch=('any')
-url='https://ranger.github.io'
-license=('GPL')
-depends=('python')
-optdepends=(
- 'atool: for previews of archives'
- 'elinks: for previews of html pages'
- 'ffmpegthumbnailer: for video previews'
- 'highlight: for syntax highlighting of code'
- 'imagemagick: auto-rotate image previews based on EXIF data'
- 'libcaca: for ASCII-art image previews'
- 'lynx: for previews of html pages'
- 'mediainfo: for viewing information about media files'
- 'odt2txt: for OpenDocument texts'
- 'perl-image-exiftool: for viewing information about media files'
- 'poppler: for pdf previews'
- 'python-chardet: in case of encoding detection problems'
- 'sudo: to use the "run as root"-feature'
- 'transmission-cli: for viewing bittorrent information'
- 'ueberzug: for previews of images'
- 'w3m: for previews of images and html pages')
-checkdepends=('python-pytest')
-source=(https://ranger.github.io/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha512sums=('5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3'
- 'SKIP')
-validpgpkeys=('1E9B36EC051FF6F7FFC969A7F08CE1E200FB5CDF'
- '66FA95C0F1619BDA520A41F60D63346A5D15D055') # huterich
-
-check() {
- cd ${pkgname}-${pkgver}
- make test_pytest
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-# vim: ts=2 sw=2 et:
Copied: ranger/repos/community-staging-any/PKGBUILD (from rev 1448239,
ranger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-22 07:48:46 UTC (rev 1448240)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: schuay <[email protected]>
+# Contributor: Roman Zimbelmann <[email protected]>
+
+pkgname=ranger
+pkgver=1.9.3
+pkgrel=9
+pkgdesc='Simple, vim-like file manager'
+arch=('any')
+url='https://ranger.github.io'
+license=('GPL')
+depends=('python')
+optdepends=(
+ 'atool: for previews of archives'
+ 'elinks: for previews of html pages'
+ 'ffmpegthumbnailer: for video previews'
+ 'highlight: for syntax highlighting of code'
+ 'imagemagick: auto-rotate image previews based on EXIF data'
+ 'libcaca: for ASCII-art image previews'
+ 'lynx: for previews of html pages'
+ 'mediainfo: for viewing information about media files'
+ 'odt2txt: for OpenDocument texts'
+ 'perl-image-exiftool: for viewing information about media files'
+ 'poppler: for pdf previews'
+ 'python-chardet: in case of encoding detection problems'
+ 'python-pillow: for in-terminal preview of images in Kitty'
+ 'sudo: to use the "run as root"-feature'
+ 'transmission-cli: for viewing bittorrent information'
+ 'ueberzug: for previews of images'
+ 'w3m: for previews of images and html pages')
+checkdepends=('python-pytest')
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+source=(https://ranger.github.io/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha512sums=('5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3'
+ 'SKIP')
+validpgpkeys=('1E9B36EC051FF6F7FFC969A7F08CE1E200FB5CDF'
+ '66FA95C0F1619BDA520A41F60D63346A5D15D055') # huterich
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python -m build -wn
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ local _pyver=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ export PYTHONPATH="$PWD/lib.linux-$CARCH-cpython-$_pyver"
+ export TERM=linux
+ python -m unittest discover
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python -m installer -d "$pkgdir" dist/*.whl
+}
+
+# vim: ts=2 sw=2 et: