summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--CHANGELOG715
-rw-r--r--PKGBUILD24
3 files changed, 746 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86bddeb90bde..ab06c2e34345 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,25 @@
pkgbase = pikaur
pkgdesc = AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay.
- pkgver = 1.5.4
+ pkgver = 1.20
pkgrel = 1
url = https://github.com/actionless/pikaur
arch = any
license = GPL3
+ makedepends = python-wheel
+ makedepends = python-hatchling
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-setuptools
+ makedepends = python-markdown-it-py
depends = pyalpm
depends = git
- optdepends = asp: for ABS support in -G/--getpkgbuild operation
+ optdepends = devtools: for Arch Pkgs support in -G/--getpkgbuild operation
optdepends = python-pysocks: for socks5 proxy support
+ optdepends = python-defusedxml: securely wrap Arch news replies
+ optdepends = pacman-contrib: to use in pacman hook/systemd timer for cleaning up pikaur cache
provides = pikaur
conflicts = pikaur-git
- source = pikaur-1.5.4.tar.gz::https://github.com/actionless/pikaur/archive/1.5.4.tar.gz
- md5sums = b0c491bfd2762e840412ff1ea47989f5
+ source = pikaur-1.20.tar.gz::https://github.com/actionless/pikaur/archive/1.20.tar.gz
+ b2sums = a28850c97436d9e445aebcfa9a77a0049a354183228e46b0b3d6e057bcf9292768a8f4406d6a9a3201ab53f5d29e897efba50816850f543d821bd1eace77aaa0
pkgname = pikaur
-
diff --git a/CHANGELOG b/CHANGELOG
index 3d429c97c027..4fd318699fd9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1482,3 +1482,718 @@ Mon Oct 21 20:14:31 2019 +0200
2019-10-20 4ad6979 actionless feat(args): read stdin if `-` specified and stdin is not tty (fixes #411)
2019-10-18 29efb8a actionless fix: make `python -m pikaur <args>` work
2019-10-17 8e19240 actionless chore(core: sudo_loop; pikspect): return back to using `sudo pacman -T` instead of `sudo -v` (fixes #408)
+
+
+Thu Dec 19 17:30:31 2019 +0100
+-------------------------------------------------
+1.5.5 Release 1.5.5
+
+ Notable changes:
+ 2019-12-19 d0972de actionless feat(print dept: pformat upgradeable): print if aur package is marked as 'out of date'
+ 2019-12-05 8884e66 actionless fix(main: cli entry point): -Sca don't require sudo (fixes #430)
+ 2019-12-05 0e3707d Yauhen Kirylau feat(install cli, build): --devel should follow -u/-uu behavior on downgrade policy (fixes #358)
+ 2019-12-05 e13c0ec actionless fix(install cli: install prompt): correctly handle next command after `v`
+ 2019-12-03 a828bed actionless feat(install info fetcher: get aur pkgs info): don't log what non-found package is ignored
+ 2019-11-28 c264873 Florian Knodt Keep proxy in environment when using systemd-run (#348)
+ 2019-11-27 1866d7e actionless feat: --keepbuilddeps flag and config option (fixes #370)
+ 2019-11-26 6f96fc3 Jason doc: Amend various typos (#426)
+ 2019-11-08 a5040fc Heimen Stoffels Updated Dutch translation (#417)
+ 2019-10-27 e53cbb5 Bundy01 fix(locale): fr,es (#414)
+ 2019-10-26 27d47fd Bundy01 chore(locale): update fr, es (#413)
+ 2019-10-22 f3cafc9 Felix Yan doc: fix typos in README (#412)
+ 2019-10-21 605049e actionless fix(core: sudo_loop): revert back to `sudo -v` as it's fixed upstream (re: #408)
+
+
+Sat Dec 21 11:43:57 2019 +0100
+-------------------------------------------------
+1.5.6 Hotfix release 1.5.6
+
+ 2019-12-21 94c9abb actionless Revert "fix(core: sudo_loop): revert back to `sudo -v` as it's fixed upstream (re: #408)"
+ 2019-12-20 909eb69 actionless chore(news): change colors for easier discoverability of the news (fixes #419)
+
+
+Wed Dec 25 05:57:40 2019 +0100
+-------------------------------------------------
+1.5.7 Release 1.5.7
+
+ Notable changes:
+ 2019-12-24 27fb1de actionless refactor,fix(news): clean-up the code and also handle ValueError (corrupted date file) (fixes #435)
+ 2019-12-23 1f20d6c actionless fix(install_cli): don't check package for upgradeability if it's not already installed
+ 2019-12-22 54f5dec actionless fix(core: dynamic_users): apply workaround for broken 'SuccessExitStatus= SuccessExitStatus=0' in systemd (fixes #434)
+ 2019-12-22 cc607d6 actionless fix(core: dynamic_users): use --pty so makepkg will be able to handle Ctrl+C (ref #434)
+
+
+Wed Jan 1 23:52:45 2020 +0100
+-------------------------------------------------
+1.5.8 Release 1.5.8
+
+ Notable changes:
+ 2019-12-29 15815b4 actionless feat(install_cli, build): show new dependencies in install prompt after the user has edited PKGBUILD (fixes #372)
+ 2019-12-29 d570038 actionless fix(install_cli): detecting extra (unlisted in aur rpc) deps in split packages
+ 2019-12-28 f8375c5 actionless feat(install_cli, install info fetcher): show install prompt if list of deps changed after editing PKGBUILD (ref: #427)
+ 2019-12-28 ee8f879 actionless feat(updates: aur; args; config): option to ignore outofdate aur upgrades
+
+
+Thu Jan 9 01:24:42 2020 +0100
+-------------------------------------------------
+1.5.8.1 Hotfix release 1.5.8.1
+
+ Notable changes:
+ 2020-01-08 fd88c62 actionless fix(aur: AURPkgInfo: from_srcinfo): fix *depends fields
+ 2020-01-08 a36531e actionless fix(print-upgradeable-cli): don't print ignored packages
+
+
+Fri Jan 10 15:16:16 2020 +0100
+-------------------------------------------------
+1.5.8.2 Hotfix release 1.5.8.2
+
+ Notables changes:
+ 2020-01-10 7b1303c actionless fix(install_cli, install info): handle the case when only some of AUR packages got edited with changing install info (ref #440)
+
+
+Sat Jan 11 22:36:16 2020 +0100
+-------------------------------------------------
+1.5.9 Release 1.5.9
+
+ Notable changes:
+ 2020-01-11 7afe82d Mikhail Khvoinitsky pikspect: do not throttle output writes; read at most 4096 bytes from output instead of at most one byte; fixes #326
+ 2020-01-11 12d2820 actionless fix(install_cli): also discard old install_info when it changed without user editing it
+
+
+Fri Jan 17 23:14:44 2020 +0100
+-------------------------------------------------
+1.5.9.1 Hotfix release 1.5.9.1
+
+ Notable changes:
+ 2020-01-17 54faf55 actionless fix(build): editing PKGBUILD not available in AUR
+ 2020-01-16 ec3d06f Bundy01 Locale update: es, fr (#444)
+
+
+Sun Feb 2 17:24:11 2020 +0100
+-------------------------------------------------
+1.6 Release 1.6
+
+ Notable changes:
+ 2020-02-01 4ebb5be actionless feat(install cli): separate messages for new and removed deps
+ 2020-02-01 43c4610 actionless fix(install cli): handle case when dependency which need to be removed also have some unlisted in AUR RPC deps
+ 2020-02-01 2ac8044 actionless feat(dynamic pkg selection): choose multiple packages at once (fixes #397)
+ 2020-01-31 2e484dd actionless fix(config: config-item): define __eq__ (fixes #447)
+ 2020-01-31 465177b actionless chore(cli-clean-pkgs): use bold line for question similar to pacman's -Sc
+ 2020-01-20 95fd008 actionless feat(install cli): show recovery prompt if deps for an AUR pkg are missing (fixes #282)
+
+
+Mon Feb 3 18:02:51 2020 +0100
+-------------------------------------------------
+1.6.1 Hotfix release 1.6.1
+
+ Changes:
+ 2020-02-03 bf8f1e8 actionless fix(install_cli): don't skip file review if --devel or --needed modes
+ 2020-02-03 021fae1 actionless fix(install cli): when discarding package also add it manually_excluded, to prevent showing twice update itself and user-modified pkgbuild (fixes #446)
+
+
+Sat Feb 8 15:05:05 2020 +0100
+-------------------------------------------------
+1.6.2 Hotfix release 1.6.2
+
+ Notable changes:
+ 2020-02-08 8e0ee37 actionless fix(install_cli): run mksrcinfo only after all files have been reviewed
+
+
+Sat Feb 8 16:32:36 2020 +0100
+-------------------------------------------------
+1.6.3 Hotfix release 1.6.3
+
+ Notables changes:
+ 2020-02-08 80d9409 actionless Revert "fix(install_cli): run mksrcinfo only after all files have been reviewed"
+ 2020-02-08 47f2eb1 actionless fix(build): run mksrcinfo only after all files have been reviewed
+
+
+Sun Feb 16 20:13:00 2020 +0100
+-------------------------------------------------
+1.6.4 Release 1.6.4
+
+ Notable changes:
+ 2020-02-16 fdad6df actionless fix(install cli, build): regression after latest fix for reviewed status (problem with detecting changes with --devel packages' builds)
+ 2020-02-15 42fe418 actionless fix(install_info_fetcher: discard): discard only pkg and its deps, but not the pkgs which depend on it (re: #452)
+ 2020-02-15 d701695 actionless fix(args): make --print-commands work again (but still keep --verbose work as well)
+ 2020-02-15 77619d3 actionless feat(pprint, args, install_info): handle pacman's --debug and add its own --pikaur-debug, add print_debug(), minimal debugging output in install info fetcher
+ 2020-02-13 671f15f actionless feat(search_cli): workaround/handle 'Query arg too small.' from AUR RPC
+
+
+Sat Feb 22 13:59:34 2020 +0100
+-------------------------------------------------
+1.6.5 Release 1.6.5
+
+ Notable changes:
+ 2020-02-22 9927f58 NeoTheFox feat: add `doas` support as PrivilegeEscalationTool config option (#455)
+ 2020-02-19 7f04667 actionless fix(print_department: pformat_upgradeable): AUR pkgs when upgrades sorted by repo (fixes #454)
+
+
+Thu Feb 27 00:30:20 2020 +0100
+-------------------------------------------------
+1.6.6 Release 1.6.6
+
+ Notables changes:
+ 2020-02-26 fa3f9e1 actionless chore(args): document --pikaur-debug and mention it in GitHub issue template
+ 2020-02-26 5403392 actionless fix(build: init): allow limiting package_names when building pkgbuild by path (fixes #452)
+ 2020-02-22 5557ee6 actionless chore(config): move 'AurUrl' and 'NewsUrl' to [network] config section
+ 2020-02-22 b3995fb actionless chore(config): move 'NoEdit', 'DontEditByDefault', 'NoDiff', 'GitDiffArgs' and 'DiffPager' to [review] config section
+ 2020-02-22 123552e actionless feat(config): implement config migration
+
+
+Tue Mar 10 16:45:20 2020 +0100
+-------------------------------------------------
+1.6.7 Release 1.6.7
+
+ Notable changes:
+ 2020-03-05 456eb3e actionless refactor(install cli; config): add HideDiffFiles=.SRCINFO (re #398)
+ 2020-03-05 ca2cec1 actionless fix(install cli): handle pkgbuild changed even on earliest stages
+ 2020-03-03 05a66d9 Bundy01 Locale update: es, fr
+ 2020-03-02 588f5b4 actionless feat(aur, news): extract urllib-related code to separate module in order to add verbose logging for network requests
+
+
+Tue Mar 17 22:41:17 2020 +0100
+-------------------------------------------------
+1.6.8 Release 1.6.8
+
+ Notable changes:
+ 2020-03-17 aa54551 actionless fix(install_cli: conflicts): check also conflicting aur deps
+ 2020-03-17 4d70a69 actionless fix(install_cli): remove failed pkgbuild from the list
+ 2020-03-15 136d03a actionless fix(urllib): return empty string if url request is not required (fixes #461)
+
+
+Wed Mar 25 21:18:06 2020 +0100
+-------------------------------------------------
+1.6.9 Release 1.6.9
+
+ Notables changes:
+ 2020-03-25 bfeccf6 actionless fix(config: DATA_ROOT): correctly handle change of XDG_DATA_HOME (fixes #465)
+ 2020-03-24 8c2f0b8 actionless fix(print_dept: color_generator): determenistic colors for known official arch repos
+ 2020-03-22 ff40ebf actionless refactor(print_dept: pp_repo_name): generate unique color sequence instead of just relying on string length
+ 2020-03-22 2558db0 actionless fix(print_dept: pp_upgradeable): format repo name the same as in search cli (fixes #464)
+ 2020-03-22 1abee42 actionless fix(core: isolate_root_cmd): find a way to correctly handle SIGINT(Ctrl+C), fixes #463
+
+
+Fri Mar 27 22:46:36 2020 +0100
+-------------------------------------------------
+1.6.9.1 Hotfix release 1.6.9.1
+
+ 2020-03-27 eb256aa actionless fix(print_department: pformat_reponame): add color argument (fixes #466)
+
+
+Sun May 10 13:02:32 2020 +0200
+-------------------------------------------------
+1.6.10 Release 1.6.10
+
+ Notable changes:
+ 2020-05-10 07e5951 actionless fix(pacman: find_sysupgrade_pkgs; install_info_fetcher): when ignoring repo pkg its deps are still displayed it install prompt (fixes #481)
+ 2020-04-29 7a90820 actionless fix(install_info_fetcher: get_aur_pkgs_info): support version matchers (fixes #474)
+ 2020-04-27 51b05bf actionless fix(search_cli): correct sorting of repo (repo, name) and aur (rating, name) pkgs
+ 2020-04-25 58fbc55 actionless fix(info_cli): show 'outofdate' as human-readable date (fixes #476)
+
+
+Mon Aug 3 09:28:24 2020 +0200
+-------------------------------------------------
+1.6.11 Release 1.6.11
+
+ Notable changes:
+ cbfe592 actionless fix(aur_deps: find_aur_deps): don't add explicitly requested package a dep in case of circular dep (fixes #495)
+ b5efc4e actionless fix(install cli): handle CloneError in all clone_aur_repos usages (fixes #501)
+ b0f54b1 actionless fix(progressbar): use different terminal escape sequence (fixes #497)
+ 31e1605 actionless fix(build: get_latest_dev_sources): honor SkipFailedBuild config option (fixes #489)
+ 513f3e2 kasmide Add Japanese translations
+ e808886 kasmide Make package information text aligned correctly even if there are full-width characters
+ b0b128f actionless fix(install_info_fetcher): preceding aur pkgnames with `aur/` (fixes #484)
+ 9f6586d actionless fix(main: get_pkgbuild cli): require `asp` only when need to download from ABS (fixes #485, #486)
+ 2501ef6 actionless fix(makepkg_config): handle $HOME in PKGDEST path (fixes #479)
+
+
+Thu Sep 24 18:58:54 2020 +0200
+-------------------------------------------------
+1.6.12 Release 1.6.12
+
+ Notables changes:
+ 2020-09-16 26bd196 actionless feat(config, urllib, build): add new config options for proxying only aur but not downloadable build sources
+ 2020-09-03 b50f393 actionless fix(aur: get_repo_url): use aur base url from config
+ 2020-08-18 d56f705 Felix Glaser fix(locale): update german translations and fix command-shortcuts (#510)
+ 2020-08-11 c76b5e1 actionless fix(install cli: clone aur repos): don't give up until canceled (fixes #509)
+
+
+Sun Nov 29 01:20:52 2020 +0100
+-------------------------------------------------
+1.6.13 Release 1.6.13
+
+ Notable changes:
+ 2020-11-29 af03258 actionless chore(packaging): use python-commonmark instead of ruby-ronn for manpage generation (#531)
+ 2020-11-26 28d22c6 Asraelite doc(readme: faq): add entry about restoring original PKGBUILD (#530)
+ 2020-11-22 2bcd27c Bundy01 chore(locale): update es and fr (#529)
+ 2020-11-18 94278ee actionless fix(build: _remove_build_deps): lock while saving diff on installed build deps (re: #528)
+ 2020-11-07 265ce93 Drommer chore(locale: ru): update (#524)
+ 2020-11-03 a5442ed actionless doc(readme): typo, thanks @XavierCLL
+ 2020-11-03 8c116c5 Henry-Joseph Audéoud chore(packaging): Add systemd timer & service to clean cache dir up. (#507)
+ 2020-11-01 98ec2e7 Naufal Fikri feat(search): Add config option to show package last updated date.
+ 2020-10-26 ca5e5ef Naufal Fikri feat(search): Added sort options for AUR packages. Added group by repo option for official packages.
+ 2020-10-25 ae3fc57 actionless feat(version cli): print pyalpm version (re: #520)
+ 2020-10-02 6a75b12 akspecs fix(news): typo ("There are news" -> "There is news") (#513)
+
+
+Fri Dec 4 12:48:47 2020 +0100
+-------------------------------------------------
+1.6.14 Release 1.6.14
+
+ Changes:
+ 2020-12-04 24a101d actionless feat(packaging: bin; makefile; pkgbuild): don't fail anymore in case of python version updates
+ 2020-11-29 07bd518 Osman Karagöz chore(locale): update TR translation (#532)
+
+
+Mon Dec 7 06:04:01 2020 +0100
+-------------------------------------------------
+1.6.15 Bugfix release 1.6.15
+
+ Notable changes:
+ 2020-12-06 f0041a3 actionless fix(build: remove_build_deps): skip if pkg diff returned no installed pkgs (re: #528/konomikitten)
+ 2020-12-04 17feee7 actionless feat(packaging: bin: pikaur): handle the case when even fallback module load not helps
+
+
+Wed Feb 3 19:21:57 2021 +0100
+-------------------------------------------------
+1.6.16 Release 1.6.16
+
+ Notable changes:
+ 2021-01-26 5ea2502 Alberto Salvia Novella fix(pikspect): restore tcsetattr - solving stdin problem in bash when using output redirecction (fixes #547, #548) (#549)
+ 2021-01-02 9f440a6 actionless fix(install cli: clone aur repos): [s]kip option in recovery prompt wasn't really working
+ 2020-12-18 8c50de1 Dylan1496 chore(core: get_editor): add more fallback editors (#541)
+ 2020-12-18 8770f03 actionless feat(urllib): handle more errors
+ 2020-12-14 d4822be actionless feat(packaging: bin: pikaur): also handle pyalpm import failure
+
+
+Sat Feb 6 05:51:38 2021 +0100
+-------------------------------------------------
+1.6.16.1 Hotfix release 1.6.16.1
+
+ 2021-02-06 dd69394 actionless fix(pikspect): don't fail if can't restore tcattrs (see 5ea2502faa7ce641e4dc97b3f2de24b9a4a10135)
+
+
+Sat Feb 13 02:20:45 2021 +0100
+-------------------------------------------------
+1.6.16.2 Hotfix release 1.6.16.2
+
+ 2021-02-13 f3dcd34 actionless fix(pikspect): don't fail if can't restore tcattrs - 2
+
+
+Thu Apr 29 01:44:26 2021 +0200
+-------------------------------------------------
+1.6.17 Release 1.6.17
+
+ Notable changes:
+ 2021-04-28 32f5ed2 AKorezin feat(packaging: bash-completion): add package search caching for bash autocompletion script (#559)
+ 2021-04-28 0f3786d Brendan Weibrecht Add instructions for migrating from Yay (#558)
+ 2021-04-28 8e0421d Gustavo Costa Add pt_BR translation (#561)
+ 2021-03-24 13d3e8c actionless fix(pikspect, main: handle_sig_int): don't handle SIG_INT while running pacman, (fixes #551)
+ 2021-03-23 92e1a38 Justin Li fix(makefile): avoid make bug with directories in $PATH (#553)
+
+
+Mon Jun 7 18:33:31 2021 +0200
+-------------------------------------------------
+1.7 Release 1.7
+
+ New features:
+ 2021-06-05 a279cbb actionless feat(install cli, build): add `git stash` option to git-pull-recovery prompt
+ 2021-05-26 66d87de actionless fix(main: print_upgradeable; install_info_fetcher: pkg_is_ignored): allow glob patterns in --ignore and IgnorePkg (fixes #564)
+ 2021-05-13 67a5014 Chris Braun feat(config, build): add IgnoreArch config option to [build] (#566)
+ 2021-05-10 2f1b598 actionless feat(main: cli_getpkgbuild): do `asp update` if dir already exists
+
+ Notable fixes:
+ 2021-05-31 f70e6f6 actionless fix(install_info_fetcher: get_info_from_pkgbuild): support manually package selection/--ignore (fixes #555)
+ 2021-04-29 544b07c actionless feat(prompt: retry_interactive_command): dont use pikspect with --noconfirm as it not interactive anyway (fixes #556)
+
+
+Thu Sep 9 00:12:59 2021 +0200
+-------------------------------------------------
+1.8 Release 1.8
+
+ Notable changes:
+ 2021-09-04 849bc4f actionless fix(pikspect: nested_terminal): check stdin stream is tty before doing anything with it
+ 2021-09-04 8adcec4 actionless fix(pikspect): init tty_opened property
+ 2021-08-26 f7f49ff actionless chore(pikspect: questions: proceed): add 'Proceed with installation?'
+ 2021-08-26 839a756 actionless fix(pikspect): apply the same tty wrapper as for prompt (for handling tty inside pipe)
+ 2021-08-25 18b21dc actionless fix(prompt: get_input): open /dev/tty manually when under pipe (fixes #587)
+ 2021-07-28 48ba71d actionless fix(args): -i/--info is countable arg
+ 2021-07-15 73dc63c Bundy01 chore(locale): update ES,FR translations (#580)
+ 2021-07-13 3d45bd2 Drommer chore(locale): update ru.po (#579)
+ 2021-06-30 7700162 actionless fix(version: get_common_version): for devel updates hardcode diff weight (for sorting) to always be the same
+ 2021-06-24 773554a actionless feat(aur_deps: find_dep_graph): also check provided pkg names
+ 2021-06-23 161924d actionless feat(install_cli: aur_pkg_not_found_prompt): make it more clear about which pkg prompt is asking about
+ 2021-06-23 9bcb02d actionless feat(aur_deps: handle_not_found_aur_pkgs): print full dependency 'graph' instead of only directly dependant package (re: #576)
+ 2021-06-12 0ec97d0 actionless fix(info_cli): columns alignment in more languages
+ 2021-06-12 772885f actionless fix(info_cli): correctly highlight 'None' in any language supported by pacman
+ 2021-06-12 397cd36 actionless feat(args, info_cli, main): support -Sy and -Si together; imprve handling of unsupported pacman commands when using pikaur-specific args (fixes #574)
+
+
+Tue Dec 14 19:13:50 2021 +0100
+-------------------------------------------------
+1.9 Release 1.9
+
+ Notable changes:
+ 2021-12-02 b29699e actionless feat(srcinfo: regenerate): when running as root first copy PKGBUILD to private directory (fixes #448)
+ 2021-12-02 f1e630b Drommer fix(locale): minor mistakes in Russian localization. (#606)
+ 2021-12-01 5caafcc Drommer feat(locale): Ukranian translation (#604)
+ 2021-11-29 a433203 Dylan1496 feat(build): add check() skip to failed build prompt (#602)
+ 2021-11-25 62413a0 actionless fix(install_cli: build_pkgs): on build fail dont attepmt to remove split pkg if it wasnt scheduled to be built (fixes #534)
+ 2021-11-24 07c7d81 seth feat(install_info_fetcher, print_dept): check if aur packages are orphaned (#600)
+ 2021-10-05 cbad87e Naufal Fikri fix(packaging: zsh): completion unnecessarily fetching packages when completing sync options (#593) (fixes #545)
+ 2021-09-22 1190271 actionless fix(aur: find_aur_packages): return only explicit results (ie case-sensitive) (fixes #592)
+
+
+Thu Feb 3 04:59:41 2022 +0100
+-------------------------------------------------
+1.10 Release 1.10
+
+ Notable changes:
+ 2022-02-03 7428417 actionless fix,test(core: ComparableType): fix recursion and deep compare not being used if type dont have ignored properties
+ 2022-02-03 64032c1 actionless fix(print_department, install_info_fetcher): dont show local PKGBUILDs as orphaned
+ 2022-02-02 2a1b2d4 beune feat(urllib): add useragent to base urllib request wrapper (#625)
+ 2022-02-02 2a79f9b actionless fix(args, pacman): use --config (fixes #624)
+ 2022-01-27 43feabd Bundy01 chore(locale): ES, FR (#622)
+ 2021-12-26 18f746f actionless fix(build: deps_lock; config): when using System Dynamic Users, use its dir instead of /tmp/ (fixes #610)
+ 2021-12-17 1cdff8f Bundy01 chore(locale): update es and fr po (#614)
+ 2021-12-14 9d29016 André Glüpker fix(search_cli): use different terminal escape sequence (see #497) (#613)
+ 2021-12-15 2b11ebd Felix Yan chore: doc(readme): explicitly rebuild from AUR (#611)
+
+
+Thu Feb 3 05:06:46 2022 +0100
+-------------------------------------------------
+1.10.1 Hotfix release 1.10.1
+
+ fix(updates): add missing maintainer field
+
+
+Sun Jul 3 22:16:28 2022 +0200
+-------------------------------------------------
+1.11 Release 1.11
+
+ Notable changes:
+ 2022-07-03 24112ff actionless fix(news): if there are more than one news - only one latest entry was printed anyway
+ 2022-06-27 4f7b996 Henry-Joseph Audéoud feat(packaging: bash-completion): when aliases of mv, mkdir or rm declared in shell (fixes #651) (#652)
+ 2022-06-21 379a793 actionless fix(pacman: get_print_format_output; install_cli: get_all_packages_info): pop the error message to the upper level (re: #650)
+ 2022-06-21 8005cce actionless fix(install_cli: get_all_packages_info): pass also --ignore-d packages to InstallInfoFetcher
+ 2022-06-21 17fc1d9 actionless fix(install_cli: _find_extra_aur_build_deps): split in case of multiple deps
+ 2022-06-09 167aa46 actionless fix(version: VersionMatcher: cmp_eq): = works different when computing deps/conflicts (ex. '<=1' should match '1.2.3')
+ 2022-06-08 6f61bc1 actionless fix(install info fetcher: mark_dependant): process all entries of packages' `provides` field
+ 2022-04-13 d7ee1a4 Andres Monge doc(faq): include downgrade information (#643)
+ 2022-03-28 f475fdc actionless refactor(install_info_fetcher: get_aur_pkgs_info): more general handling of avoiding double-removing aur pkg which was already re-added as pkgbuild
+ 2022-03-28 d034cb2 actionless fix(install_info_fetcher: get_aur_pkgs_info): remove manually edited pkgbuild from list of aur pkgs to be installed only if it's still still in that list
+ 2022-03-28 30cba82 actionless fix(core: ComparableType: __eq__): consider different type as always non-equal (fixes #639)
+ 2022-03-28 94effeb actionless fix(build: set_built_package_path): check exit code of makepkg --packagelist
+ 2022-03-17 122c5ff Bundy01 fix(locale): update, es.po and fr.po corrected (#636)
+ 2022-03-18 49f40e8 linweiyuan doc: remove tuna aur config for China users (#638)
+ 2022-02-25 afc18e7 kyak fix(locale): update po.ru (#635)
+ 2022-02-12 03ba5f3 actionless fix,refactor(conflicts, install_info_fetcher, install cli): allow local pkg builds without internet if they not require not installed AUR packages
+ 2022-02-09 76c2d81 Aditya Gupta fix(install_info_fetch): add `new_thirdparty_repo_deps_install_info` (Fixes #627) (#628)
+ 2022-02-09 fdf7baf actionless fix(search_cli; test: cli): new workaround for #298
+ 2022-02-09 65f4e85 Osman Karagöz chore(locale): update TR translation (#626)
+
+
+Tue Oct 4 03:16:51 2022 +0200
+-------------------------------------------------
+1.12 Release 1.12
+
+ Notable changes:
+ 2022-10-04 75a3380 actionless feat(install_cli: review_build_files): store review state outside of PackageBuild class (closes #525)
+ 2022-09-26 98f8880 actionless feat(updates, print_dept): print if package was ignored in the pacman config
+ 2022-09-15 38792d1 gnfzdz feat(DynamicUsers): Update to pass GNUPGHOME environmental variable as part of makepkg builds (#663)
+ 2022-08-30 7ec6518 actionless fix(build: get_latest_dev_sources): don't pass --noprepare according to pkgbuild spec (fixes #661)
+ 2022-08-30 e730c2c linweiyuan feat(print_dept): add printing message of package total size (#662) (fixes #659)
+ 2022-07-24 39255c7 voest fix(install_cli: review_build_files): use dynamic user for git diff (fixes #645) (#655)
+ 2022-07-21 72b425b Drommer chore(po): Update Ukranian Translation (#654)
+ 2022-07-21 fbd34f9 Drommer chore(po): Update Russian Translation (#653)
+
+
+Sat Oct 22 06:13:24 2022 +0200
+-------------------------------------------------
+1.13 Release 1.13
+
+ Notable changes:
+ 2022-10-10 a828755 jotomo fix(pacman print_format operations) add --nodeps. (#668) (Fixes #665, #656)
+ 2022-10-10 49f1b9d actionless feat(help cli): document --print-commands flag
+ 2022-10-10 7b1969b actionless fix(pikaur: print_dept: pformat_sysupgrade: total_size): make translateable
+ 2022-10-10 ae20808 actionless feat: add config value ui.WarnAboutPackageUpdates for printing warning about some important for packages for the user
+ 2022-10-07 b613841 Bundy01 chore(locale): update and translation: es,fr (#667)
+
+
+Thu Oct 27 13:16:13 2022 +0200
+-------------------------------------------------
+1.13.1 Release 1.13.1
+
+ Notable changes:
+ 2022-10-27 b301cca actionless feat(build: recovery prompt): add `[n] skip 'prepare()' function of PKGBUILD` (re: #671)
+ 2022-10-27 0925f84 actionless fix(pacman: find_upgradeable_packages): check per-peckage deps only if they can't be resolved for the whole transaction (fixes #672)
+ 2022-10-22 498dbbd actionless fix(print_department: version): print current year
+
+
+Thu Oct 27 17:26:44 2022 +0200
+-------------------------------------------------
+1.13.2 Release 1.13.2
+
+ Notable changes:
+ 2022-10-27 a8afb44 actionless fix(pikaur: pacman: get_print_format_output; install_info_fetcher: get_repo_pkgs_info): still check deps when needed (re: #665, #656)
+ 2022-10-27 feb6347 actionless fix(install_info_fetcher; update: print_upgradeable): don't fetch update info twice when printing ignored packages
+
+
+Fri Nov 25 20:21:19 2022 +0100
+-------------------------------------------------
+1.14 Relase 1.14
+
+ Notable changes:
+ 2022-11-25 a8cc477 actionless fix(build): always remove installed build deps when build fails also improve exception types being raised
+ 2022-11-25 02ace37 actionless feat(pkg_cache_cli): improve message when removing cache
+ 2022-11-24 1b50155 actionless feat(urllib: read_bytes_from_url, read_gzip_from_url): a bit more sane behavior with --noconfirm flag
+ 2022-11-24 49d77a8 actionless feat(pkg_cache_cli): improve message when cache dir is already empty
+ 2022-11-24 3a28899 actionless feat(main: cli_clean_pkg_cache): when running `-Scc --noconfirm` always default everything to yes
+ 2022-11-24 f220c6a actionless fix(install_info_fetcher: _get_install_pkgs_info): correctly ask user to continue
+ 2022-11-10 933f2b0 Bundy01 chore(po): update fr and es (#674)
+
+
+Fri Nov 25 20:57:25 2022 +0100
+-------------------------------------------------
+1.14.1 Hotfix release 1.14.1
+
+ refactor(core: datatype): chaining classmethod descriptors (introduced in python 3.9) will be deprecated in 3.11
+ https://docs.python.org/3.11/whatsnew/3.11.html#language-builtins
+
+
+Sat Nov 26 08:31:02 2022 +0100
+-------------------------------------------------
+1.14.2 Release 1.14.2
+
+ Notable changes:
+ 2022-11-26 0fed425 actionless fix(pkgbuild): remove prev built wheels before building a new one
+ 2022-11-26 9c21455 actionless fix(build, config, core): remove runtime dependency on `typing_extensions`
+ 2022-11-26 2bdb925 actionless fix(pprint: create_debug_logger): use `X is not None` except of `not X`
+ 2022-11-26 a50ae21 actionless fix(main: OutputEncodingWrapper): reraise exception before stderr closes
+ 2022-11-26 a8f3af6 actionless fix(InstallInfoFetcher: get_repo_pkgs_info): correctly determine if pkg already processed
+
+
+Sat Nov 26 21:27:02 2022 +0100
+-------------------------------------------------
+1.14.3 Hotfix release 1.14.3
+
+ 2022-11-26 376b3cc actionless chore(pkgbuild): fix dep chain problem
+ with python-pep517
+
+
+Sun Nov 27 14:02:42 2022 +0100
+-------------------------------------------------
+1.14.4 Release 1.14.4
+
+ Notable changes:
+ 2022-11-27 e611a58 actionless feat(info_cli): add new Submitter and Co-maintainers fields
+ 2022-11-27 77fe74a actionless fix(aur: AURPackageInfo): allow AUR having some extra fields and only print warning instead of throwing an exception
+ 2022-11-27 9d90136 actionless fix(AURPackageInfo): now AUR returns more data, add `submitter` and `comaintainers` fields
+
+
+Tue Nov 29 04:10:58 2022 +0100
+-------------------------------------------------
+1.14.5 Release 1.14.5
+
+ Notable changes:
+ 2022-11-29 f43cab0 actionless fix(pkgbuild): remove wheel after running python-installer (fixes #683)
+ 2022-11-29 ef3a925 actionless fix(filelock: __exit__): remove the file after unlocking (fixes #685)
+ 2022-11-29 91ba397 actionless fix(updates: print_upgradeable): `not X` vs `X is not None` ; use aur packages as input argument, as repo packages info is already cached in Pacman class anyway (fixes #687)
+
+
+Tue Dec 20 00:29:21 2022 +0100
+-------------------------------------------------
+1.14.6 Release 1.14.6
+
+ Notable changes:
+ 2022-12-19 64ac32f actionless fix(build): update spawn kwargs instead of replacing when using `--hide-build-log` flag
+ 2022-12-19 fa5c7c8 actionless fix(build: PackageBuild: init): regenerate srcinfo (fixes the case when having multiple pkgbuilds in the same directory)
+ 2022-12-19 55d27d0 actionless feat(args, help_cli): add new `--skip-failed-build` flag (similar to existing SkipFailedBuild config option)
+ 2022-12-19 f95d194 actionless feat(help_cli): document `--hide-build-log` pikaur flag
+ 2022-12-19 c561535 actionless fix(search_cli): support `--namesonly` in cases when one of search words returned expected error from aur
+ 2022-12-19 f00b99c actionless fix(args, main): `-Qu` means `--query --upgrades`, not `--query --sysupgrade`
+ 2022-12-18 8c0c83e actionless fix(makefile): throw error if can't determine path to Python (re: #695)
+ 2022-12-12 741146f actionless fix(args: get_pikaur_long_opts): include also pikaur_count_opts
+ 2022-12-10 a255eb9 actionless fix(aur: rpc_info): smarter split packages into chunks
+ 2022-12-01 04703fd actionless fix(install_info_fetcher: get_aur_pkgs_info): don't print ignored package as it's already done in a different part of the code (fixes #687)
+ 2022-11-29 40c98ca Osman Karagöz chore(locale): update TR translation (#689)
+ 2022-11-29 370a4d9 actionless fix(pkgbuild): python-installer already copying stuff from `./dist/` dir
+
+
+Tue Jan 3 17:22:26 2023 +0100
+-------------------------------------------------
+1.14.7 Release 1.14.7 ☁️🚬🎅
+
+ Notable changes:
+ 2022-12-26 7c5d8b7 actionless fix(config, main): create .cache dir when needed (fixes #697)
+ 2022-12-22 375f044 actionless fix(pacman: get_pacman_test_output): results were not cached 🙀
+ 2022-12-22 40fe015 actionless fix(core: InteractiveSpawn): dont print some cmds twice with --print-commands enabled
+
+
+Thu May 4 13:33:56 2023 +0200
+-------------------------------------------------
+1.15 Release 1.15
+
+ Notable changes:
+ * 2023-05-04 98d158f actionless fix(args: parse, reconstruct_pacman, main: cli_entry_point): read stdin when `-` supplied only for pikaur-specific commands (fixes #712)
+ * 2023-05-04 ab2c637 actionless fix(args: PikaurArgs: from_namespace): print warning about extra args only in the debug mode (fixes #709)
+ * 2023-05-01 99fa454 actionless feat(config; main: cli_entry_point): add more universal config option `DynamicUsers` instead of `AlwaysUseDynamicUsers`
+ * 2023-02-09 2a9f139 actionless fix(build: set_built_pkg_path): handle the case when package was built during this pikaur session, but build sequence was restarted (for example, due to dep-change in PKGBUILD)
+ * 2023-01-29 91e9dc3 actionless fix(TTYRestore): restore also stdout and stderr, not only stdin
+ * 2023-01-29 925b178 actionless fix(prompt): use FileLock, as threading.Lock acting weird with multithreaded TTYs
+ * 2023-01-29 aa9cf8c actionless fix(filelock): wait for lock to be available instead of raising exc, also improve logging
+ * 2023-01-29 967d3ef actionless fix(install_cli: edit_file): save/restore TTY state in case if TUI editor (like VIM) would garble the TTYs
+ * 2023-01-29 0cc77ba actionless fix(core: interactive_spawn): don't lock the logging output, as it's starting to race with input prompt lock
+ * 2023-01-28 b05e9e5 actionless feat(args, build): add --skip-aur-pull and rename --clone-concurrency to --aur-clone-concurrency
+ * 2023-01-28 e160bf8 actionless feat(install_cli: clone_repos): add new recovery option
+ * 2023-01-28 28c6dc6 actionless fix(build: clone_aur_repos): raise exception after checking all the results
+ * 2023-01-28 f0a26df actionless feat(build: clone_aur_repos): don't clone same repo twice during same pikaur session
+ * 2023-01-26 bdc01cc actionless fix(build: _set_built_package_path): regression when comparing path to str
+ * 2023-01-16 735a14a actionless fix(pkgbuild): update version regex
+ * 2023-01-12 d5b5eb8 Bundy01 chore(locale): regenerate and translate es.po, fr.po (#700)
+
+
+Thu May 4 14:59:51 2023 +0200
+-------------------------------------------------
+1.15.1 Hotfix release 1.15.1
+
+ Notable changes:
+ * 2023-05-04 dfa09ea actionless doc(pkg: bin: pikaur): add link to installation instructions
+ * 2023-05-04 fbfdb60 actionless fix(args): --nodeps could be used more than once
+ * 2023-05-04 79f454d actionless style: lint packaging/usr/bin/pikaur
+
+
+Sun May 21 23:29:18 2023 +0200
+-------------------------------------------------
+1.15.2 Release 1.15.2
+
+ Notables changes:
+ * 2023-05-21 e4bf25b actionless chore(pacman: official_repos): remove `community` repo name
+ * 2023-05-21 109d71d actionless refactor: switch from `asp` to `devtools`
+ * 2023-05-16 388802a actionless chore(pacman: official_repos): add new repo names
+ * 2023-05-06 117dc32 Bundy01 chore(locale): update es.po and fr.po (#714)
+
+
+Fri May 26 04:41:58 2023 +0200
+-------------------------------------------------
+1.15.3 Release 1.15.3
+
+ Notables changes:
+ * 2023-05-26 4620ade actionless fix(getpkgbuild_cli): --unprivileged was renamed to --protocol=https in `devtools`
+ * 2023-05-26 810efe4 actionless fix(pkgbuild): add python-hatchling
+ * 2023-05-23 2faea6e Curtis Lee Bolin chore(packaging): copy metadata from `setup.py` to `pyproject.toml` (#716)
+
+
+Fri Jul 14 05:03:49 2023 +0200
+-------------------------------------------------
+1.16 Release 1.16
+
+ Notable changes:
+ * 2023-07-14 971206b actionless fix/refactor(pikspect): use pty.spawn() as a base instead of subprocess.Popen() - to fix working with latest `sudo` `use_pty` default set to `true`
+ * 2023-07-13 e3b5d5e actionless fix(install_cli: init: refresh): don't break terminal with the new `sudo` use_pty defaults to `true`
+ * 2023-06-27 5a9a2f3 actionless feat(getpkgbuild, args): add -o/--output flag for -G operation, update AUR repo if already cloned (fixes #723)
+ * 2023-06-20 a174539 actionless fix(pacman: find_sysupgrade_pkgs): when computing deps take into account pkgs which gon be installed manually (fixes #727)
+
+
+Fri Jul 14 10:23:03 2023 +0200
+-------------------------------------------------
+1.16.1 Hotfix release 1.16.1
+
+ 2023-07-14 b16c2fa actionless fix(pikspect): `is None` and handle stdin without timeout (fixes #729)
+
+
+Sun Jul 16 21:50:14 2023 +0200
+-------------------------------------------------
+1.17 Release 1.17
+
+ Notable changes:
+ * 2023-07-15 453ec40 actionless feat: return also previous behavior, where only `pacman` command is escalating (re: #729) - PrivilegeEscalationTarget config option
+ * 2023-07-15 76575d6 actionless feat: implement new logic for privilege delegation instead of old sudo loop (fixes #729) - also add UserId config option
+ * 2023-07-15 524f6df actionless refactor: completely remove old SudoLoop (re: #729) - remove SudoLoopInterval config option
+
+
+Sun Jul 30 19:55:06 2023 +0200
+-------------------------------------------------
+1.18 Release 1.18
+
+ Notable changes:
+ * 2023-07-30 96d877a actionless fix(build: clone_all_aur_repos): restore TTY after multi-threaded clone
+ * 2023-07-29 e8ea2d5 actionless fix(install_cli: manual_package_selection): chown temp file if needed
+ * 2023-07-29 1f2952b actionless feat(build, install_cli: git-recovery-prompt): add `git diff` option
+ * 2023-07-29 075e7eb actionless fix(prompt: get_editor): isolate editor command if pikaur elevated privilege from the normal user
+ * 2023-07-29 f457b7e actionless fix(privileges, main): bypass home-dir and other XDG env vars via cli flags instead of using --preserve-env (fixes #735)
+ * 2023-07-29 5bd7a77 Oskar Roesler fix(install_info_fetcher): Don't attempt to delete dict entry in aur_updates_install_info_by_name{} twice. (#736)
+ * 2023-07-22 bc29c12 actionless feat(pacman: get_not_found_repo_packages): improve caching when running the same pacman commands internally
+ * 2023-07-22 46a8046 actionless feat(build: get_latest_dev_sources): add recovery prompt when updating sources of -git repo
+ * 2023-07-20 a9f8758 actionless feat(core: sudo; privilege: isolate_root): improve `doas` support (re: #725)
+
+
+Mon Jul 31 01:14:07 2023 +0200
+-------------------------------------------------
+1.18.1 Hotfix release 1.18.1
+
+ Notable changes:
+ * 2023-07-31 ae7d00d actionless fix(install_cli, build: clone recovery prompt): [s]kip option wasn't working in --needed or --devel modes
+ * 2023-07-31 a1e4c2d actionless fix(install_cli, build: clone dev pkgs): reset tty on each line - because spawning pty-s from threads breaks terminal output (fixes #739)
+
+
+Wed Aug 2 00:28:19 2023 +0200
+-------------------------------------------------
+1.18.2 Hotfix release 1.18.2
+
+ Notable changes:
+ * 2023-08-02 96abf25 actionless fix(core: mkdir): even if dir exists, chown it just in case (if pikaur was previouly started as root and created that dir)
+ * 2023-08-02 8355904 actionless fix(core: chown_to_current): check type of user_id only when --user-id actually supplied
+
+
+Thu Aug 17 19:42:45 2023 +0200
+-------------------------------------------------
+1.18.3 Hotfix release 1.18.3
+
+ Notable changes:
+ * 2023-08-17 c58f144 actionless fix(pikaman): markdown-it-py upgraded from 2.2 to 3.0
+ * 2023-08-06 6402f69 actionless fix(srcinfo: regenerate): chown generated srcinfo to the current user if needed
+
+
+Sun Feb 4 03:52:54 2024 +0100
+-------------------------------------------------
+1.18.4 Release 1.8.4
+
+ Notable changes:
+ * 2024-02-01 a5fc379 BryanLiang chore(locale): update zh_CN.po (#768)
+ * 2024-01-02 cab4552 Bundy01 chore(locale): update of es.po and fr.po (#765)
+ * 2023-09-06 21d27dc actionless fix(prompt: get_editor): run editor as user if --user-id present (re: #741-1705483885)
+ * 2023-08-31 d627aef actionless fix(build: update_last_installed_path): chown file to the current user (fixes: #757)
+ * 2023-08-28 682d8f1 actionless fix(config: migrate): don't fail migration on incomplete config file (fixes #752)
+ * 2023-08-28 d57fd4f actionless feat(privilege, config, args): add --preserve-env flag and misc.PreserveEnv config option for preserving certain env vars (fixes: #742)
+ * 2023-08-28 a030d77 Fredrik Magnusson chore(locale, makefile): add Swedish localization (#754)
+ * 2023-08-20 113a5e1 Bundy01 chore(locale): update es.po and fr.po (#750)
+ * 2023-08-21 aa8998d detiam chore(privilege): add 'ALL_PROXY' to PRESERVE_ENV (#749)
+
+
+Fri Apr 5 02:41:34 2024 +0200
+-------------------------------------------------
+1.19 Release 1.19
+
+ Notable changes:
+ * 2024-04-05 5b08d34 actionless feat(main, search_cli, print_dept): implement --list/-l (fixes #777)
+ * 2024-04-02 76f67f8 actionless feat(news, install_cli): confirm reading Arch news (fixes: #618)
+ * 2024-03-28 7003fd1 Drommer chore(locale): update for Ukrainian and other translations. (#780)
+ * 2024-03-26 65d986c actionless fix(getpkgbuild: clone_repo_pkgs): use `.base` instead of `.name` (fixes #779)
+ * 2024-03-17 ad7edcd actionless fix(args): set preserve_env to "" if it's empty (fixes #775)
+ * 2024-03-17 b881313 actionless feat(install_cli: build_pkgs): add new prompt for DependencyNotBuiltYetError causing dependency cycle
+ * 2024-02-17 3ff6194 actionless feat(install_cli, build, aur_dep,conflicts): when resolving AUR deps add to recovery prompt an option to skip check() func and its deps (fixes #774)
+ * 2024-02-17 40694dc actionless fix(aur_deps: find_dep_graph_to): avoid recursion (fixes #774)
+ * 2024-02-09 de46955 actionless feat(install_cli: build_pkgs): mark already built pkgs between restart of whole installation loop (fixes #772)
+
+
+Sat Apr 27 20:16:19 2024 +0200
+-------------------------------------------------
+1.20 Release 1.20
+
+ * 2024-04-26 45de718 actionless fix(aur_deps, install_cli): don't require runtime deps if --pkgbuild (-P) provided but not --install (-i) (Fixes #786)
+ * 2024-04-25 f3540b7 actionless chore(argparse): make it compatible with python 3.12.3+ (fixes #787)
+ * 2024-04-15 9d2fc7a Knirps1 fix(main: cli_dynamic_select): off by one error (#785)
+ * 2024-04-12 6992118 actionless fix(args): improve detection when interactive package selection is chosen (fixes #783)
+ * 2024-04-11 c6b75f0 Osman Karagöz chore(locale): update tr.po (#782)
diff --git a/PKGBUILD b/PKGBUILD
index 7ebf90062d7a..9a63239a77fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# shellcheck disable=SC2034,SC2154
pkgname=pikaur
-pkgver=1.5.4
+pkgver=1.20
pkgrel=1
pkgdesc="AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay."
arch=('any')
@@ -11,27 +11,41 @@ license=('GPL3')
source=(
"$pkgname-$pkgver.tar.gz"::https://github.com/actionless/pikaur/archive/"$pkgver".tar.gz
)
-md5sums=('b0c491bfd2762e840412ff1ea47989f5')
+b2sums=('a28850c97436d9e445aebcfa9a77a0049a354183228e46b0b3d6e057bcf9292768a8f4406d6a9a3201ab53f5d29e897efba50816850f543d821bd1eace77aaa0')
depends=(
'pyalpm'
'git'
)
+makedepends=(
+ 'python-wheel'
+ 'python-hatchling'
+ 'python-build'
+ 'python-installer'
+ 'python-setuptools' # i think it normally should be required by python-pep517 which required by python-build/installer
+ 'python-markdown-it-py'
+)
optdepends=(
- 'asp: for ABS support in -G/--getpkgbuild operation'
+ 'devtools: for Arch Pkgs support in -G/--getpkgbuild operation'
'python-pysocks: for socks5 proxy support'
+ 'python-defusedxml: securely wrap Arch news replies'
+ 'pacman-contrib: to use in pacman hook/systemd timer for cleaning up pikaur cache'
)
conflicts=('pikaur-git')
provides=('pikaur')
build() {
cd "${srcdir}/${pkgname}-${pkgver}" || exit 2
- sed -i -e "s/VERSION.*=.*/VERSION = '${pkgver}'/g" pikaur/config.py
+ sed -i -e "s/^VERSION.*=.*/VERSION = '${pkgver}'/g" pikaur/config.py
+ if test -d ./dist ; then
+ rm -r ./dist
+ fi
make
+ /usr/bin/python3 -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}" || exit 2
- /usr/bin/python3 setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
+ /usr/bin/python3 -m installer --destdir="$pkgdir" dist/*.whl
for langmo in $(cd ./locale && ls ./*.mo); do
lang=$(sed -e 's/.mo$//' <<< "${langmo}")
install -Dm644 "locale/${langmo}" "$pkgdir/usr/share/locale/${lang}/LC_MESSAGES/pikaur.mo"