-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change addds unit tests to neomutt. Those tests come in a separate package as upstream maintains them in a separate repository. Closes: https://bugs.gentoo.org/734122 Closes: https://bugs.gentoo.org/728886 Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
- Loading branch information
1 parent
6c1e812
commit 5e00bf1
Showing
4 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST neomutt-test-files-20200626.tar.gz 3673 BLAKE2B 50354f19aedc5fc07d59ecb5b38fa65de16119bc0929f47014bd35dab4d3a4e5953c8b35670f3440003cf0cbccc2d0d2b3a869dc929cdc3cd60b02790270fb54 SHA512 3d4962210bc558234d818801dcaa7851a0aef011c96d91c054af535186ffda42059fc61fb148c48e1b076999fe3159b31589a69a29ed1897f8928f52fcc157d3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>nicolasbock@gentoo.org</email> | ||
</maintainer> | ||
</pkgmetadata> |
35 changes: 35 additions & 0 deletions
35
mail-client/neomutt-test-files/neomutt-test-files-20200626.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
UPSTREAM_COMMIT="8629adab700a75c54e8e28bf05ad092503a98f75" | ||
SRC_URI="https://github.com/neomutt/${PN}/archive/${UPSTREAM_COMMIT}.tar.gz -> ${P}.tar.gz" | ||
|
||
DESCRIPTION="Test files for the main NeoMutt source" | ||
HOMEPAGE="https://neomutt.org/" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
S="${WORKDIR}/${PN}-${UPSTREAM_COMMIT}" | ||
|
||
src_unpack() { | ||
if [[ -n ${A} ]]; then | ||
unpack ${A} | ||
fi | ||
} | ||
|
||
src_prepare() { | ||
eapply_user | ||
NEOMUTT_TEST_DIR="${S}" ./setup.sh | ||
tar -C ${S} -cvf ${WORKDIR}/${P}.tar.gz . | ||
} | ||
|
||
src_install() { | ||
dodir /usr/share/${P} | ||
insinto /usr/share/${P} | ||
doins ${WORKDIR}/${P}.tar.gz | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters