diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-06-08 10:49:50 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-06-11 18:20:07 -0400 |
commit | 0d0e787541e23aea6c928e1d7b40526bcf695f2f (patch) | |
tree | ff2d961b773df468227d49dd54ea9c6e083dade4 | |
parent | dev-python/pyproject2setuppy: arm64 stable (bug #727888) (diff) | |
download | gentoo-0d0e787541e23aea6c928e1d7b40526bcf695f2f.tar.gz gentoo-0d0e787541e23aea6c928e1d7b40526bcf695f2f.tar.bz2 gentoo-0d0e787541e23aea6c928e1d7b40526bcf695f2f.zip |
app-text/scdoc: version bump + new proxy maint
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/16121
Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r-- | app-text/scdoc/Manifest | 1 | ||||
-rw-r--r-- | app-text/scdoc/metadata.xml | 9 | ||||
-rw-r--r-- | app-text/scdoc/scdoc-1.10.1.ebuild | 44 | ||||
-rw-r--r-- | app-text/scdoc/scdoc-9999.ebuild | 2 |
4 files changed, 54 insertions, 2 deletions
diff --git a/app-text/scdoc/Manifest b/app-text/scdoc/Manifest index 02f5cf585a61..4703e82d040c 100644 --- a/app-text/scdoc/Manifest +++ b/app-text/scdoc/Manifest @@ -1,2 +1,3 @@ DIST scdoc-1.10.0.tar.gz 12414 BLAKE2B 3111b3ace102aca2f7da86e510e00f552874817b6b9d754770bd94f9482e4e444a4bc4d44a8317376a6c374bb7363eae96a49281fefd95dd663134087123034b SHA512 546743376380d84aa9c8be65529dbbe1634e574203220ce1c057341436bd3a15297f393ca79d29372cb125bf457cfc00f64ba2867b8d2e910ca6531acb552e97 +DIST scdoc-1.10.1.tar.gz 12422 BLAKE2B 4aa5b28994cd03f5d3fc9fff253a02f1052653d25d41225665219ebb6322ebe69f2671d91c5cfe201fd7f9b1ac06f38db3dd126492da06fef0b692fc040300d5 SHA512 356aee85c4676a1fbd7367c6087dd7f6f4d33793be0f3fef74803ceb93c0a9e45c78022d219dc08a7d79d71c393849fa3113c36a85d5d60ed474b62bf5f89743 DIST scdoc-1.9.3.tar.gz 11479 BLAKE2B 79aa3f18104e06722f087e9c2fa047f6e19fe8eb47ba0b4e6fa86f7abdc52b06a2dfcfd632b16dc7bce6e5ef3b0dbb40ce9170e678bc17c0a4e43dcc0099a1dc SHA512 77be81f042e2099de7fc84b0161bc8a95d5c3dde662284613d84a1e249fa0aa51dad73f53f265c833526d40f5e1f19fce99dc5cd6df35efb0a323c3db6084a55 diff --git a/app-text/scdoc/metadata.xml b/app-text/scdoc/metadata.xml index ffe4f8a40e73..d75229ff2432 100644 --- a/app-text/scdoc/metadata.xml +++ b/app-text/scdoc/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <upstream> <remote-id type="github">swaywm/sway</remote-id> </upstream> diff --git a/app-text/scdoc/scdoc-1.10.1.ebuild b/app-text/scdoc/scdoc-1.10.1.ebuild new file mode 100644 index 000000000000..15ecbe1b112a --- /dev/null +++ b/app-text/scdoc/scdoc-1.10.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Standalone tool for generating man pages with a simple syntax" +HOMEPAGE="https://git.sr.ht/~sircmpwn/scdoc" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/scdoc" + inherit git-r3 +else + SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +src_prepare() { + default + + sed -e 's/-Werror//' \ + -i Makefile || die 'Failed to patch Makefile' +} + +src_compile() { + local MY_HS="./scdoc" + if tc-is-cross-compiler; then + tc-export_build_env + MY_HS="./hostscdoc" + emake scdoc HOST_SCDOC="./hostscdoc" OUTDIR="${S}/.build.host" CC="$(tc-getBUILD_CC)" \ + CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}" + mv scdoc hostscdoc || die 'Failed to rename host scdoc' + fi + emake LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \ + PCDIR="${ED}/usr/$(get_libdir)/pkgconfig" install +} diff --git a/app-text/scdoc/scdoc-9999.ebuild b/app-text/scdoc/scdoc-9999.ebuild index a73e37542026..15ecbe1b112a 100644 --- a/app-text/scdoc/scdoc-9999.ebuild +++ b/app-text/scdoc/scdoc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 |