[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52075] [PATCH 3/4] gnu: Add python-notmuch2.
From: |
Tanguy LE CARROUR |
Subject: |
[bug#52075] [PATCH 3/4] gnu: Add python-notmuch2. |
Date: |
Wed, 24 Nov 2021 13:44:30 +0100 |
User-agent: |
alot/0.10 |
Hi Nicolas,
Thanks for reviewing!
Quoting Nicolas Goaziou (2021-11-24 11:29:02)
> Tanguy Le Carrour <tanguy@bioneland.org> writes:
>
> > * gnu/packages/mail.scm (python-notmuch2): New variable.
>
> Thanks.
>
> Would it be possible (or appropriate) to inherit from python-notmuch
> instead?
Possible? Yes! Thanks for suggesting.
```
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 1069aac16c..e1e199c656 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1514,12 +1514,8 @@ (define-public python2-notmuch
(define-public python-notmuch2
(package
+ (inherit python-notmuch)
(name "python-notmuch2")
- (version (package-version notmuch))
- ;; The bindings are distributed via the notmuch release tarball.
- (source (package-source notmuch))
- (build-system python-build-system)
- (inputs `(("notmuch" ,notmuch)))
(propagated-inputs `(("python-cffi" ,python-cffi)))
(arguments
`(#:phases
@@ -1528,11 +1524,7 @@ (define-public python-notmuch2
;; tree, so chdir into it before building.
(add-after 'unpack 'enter-python-dir
(lambda _ (chdir "bindings/python-cffi") #t)))))
- (home-page (package-home-page notmuch))
(synopsis "Pythonic bindings for the notmuch mail database using CFFI")
- (description
- "This package provides Python bindings to use the Notmuch mail indexing
-and search library.")
(license license:gpl3+)))
```
Appropriate? I have no idea!
If this version is OK with you, I can submit a V2 of the patch set.
Regards,
--
Tanguy
- [bug#52075] [PATCH 0/4] gnu: alot: Update to 0.10., Tanguy Le Carrour, 2021/11/24
- [bug#52075] [PATCH 1/4] gnu: python-urwidtrees: Update to 1.0.3., Tanguy Le Carrour, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Tanguy Le Carrour, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2.,
Tanguy LE CARROUR <=
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Jack Hill, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Jack Hill, 2021/11/24
- bug#52075: [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/27
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Tanguy LE CARROUR, 2021/11/28
[bug#52075] [PATCH 2/4] gnu: notmuch: Update to 0.34.1., Tanguy Le Carrour, 2021/11/24
[bug#52075] [PATCH 4/4] gnu: alot: Update to 0.10., Tanguy Le Carrour, 2021/11/24
[bug#52075] [PATCH v2 1/4] gnu: python-urwidtrees: Update to 1.0.3., Tanguy Le Carrour, 2021/11/24