diff options
author | 2023-06-22 15:11:24 +0200 | |
---|---|---|
committer | 2023-06-22 15:11:24 +0200 | |
commit | 592a5b505f6d8eb16efd158de552e9d1f77606da (patch) | |
tree | 02ec2c5bfb539a0a20db52485962d2c648a48a32 /dev-vcs | |
parent | dev-tex/cpp2latex: treeclean (diff) | |
download | gentoo-592a5b505f6d8eb16efd158de552e9d1f77606da.tar.gz gentoo-592a5b505f6d8eb16efd158de552e9d1f77606da.tar.bz2 gentoo-592a5b505f6d8eb16efd158de552e9d1f77606da.zip |
dev-vcs/cvsync: treeclean
Closes: https://bugs.gentoo.org/872539
Closes: https://bugs.gentoo.org/713794
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/cvsync/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/cvsync/cvsync-2014.08.24.014706.ebuild | 80 | ||||
-rw-r--r-- | dev-vcs/cvsync/cvsync-9999.ebuild | 80 | ||||
-rw-r--r-- | dev-vcs/cvsync/metadata.xml | 13 |
4 files changed, 0 insertions, 174 deletions
diff --git a/dev-vcs/cvsync/Manifest b/dev-vcs/cvsync/Manifest deleted file mode 100644 index 4890d46e5e5b..000000000000 --- a/dev-vcs/cvsync/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cvsync-2014.08.24.014706.tar.xz 94820 BLAKE2B 52453eb281571978d37aa9ef0e0e29c1b0ffdb54a7e140bfbbc0cb0ba62a1efd8464da952ab7f0bf95dcbda9ff85122c9dd852a0985e145437363c32c890ee8b SHA512 8aa05d3e2459a14e6abe48eb13b7130aa0bdba7bc9e3604b8406622541450349c233bf43f11804d3820567f882335e1079a9fb747e1d1b8a5d93325bf4e97158 diff --git a/dev-vcs/cvsync/cvsync-2014.08.24.014706.ebuild b/dev-vcs/cvsync/cvsync-2014.08.24.014706.ebuild deleted file mode 100644 index 974b64224953..000000000000 --- a/dev-vcs/cvsync/cvsync-2014.08.24.014706.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/cvsync/cvsync.git" - inherit git-r3 -else - SRC_URI="mirror://gentoo/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - S="${WORKDIR}/${PN}" -fi - -DESCRIPTION="portable CVS repository synchronization utility" -HOMEPAGE="https://github.com/cvsync/cvsync" - -LICENSE="BSD" -SLOT="0" -IUSE="gcrypt mhash +openssl" -REQUIRED_USE="!openssl? ( ^^ ( gcrypt mhash ) )" - -RDEPEND="sys-libs/zlib - openssl? ( dev-libs/openssl:0= ) - !openssl? ( - gcrypt? ( dev-libs/libgcrypt:0= ) - mhash? ( app-crypt/mhash ) - )" -DEPEND="${RDEPEND}" - -maint_pkg_create() { - cd "${S}" - local ver=$(date --date="$(git log -n1 --pretty=format:%ci HEAD)" -u "+%Y.%m.%d.%H%M%S") - local tar="${T}/${PN}-${ver}.tar.xz" - git archive --prefix "${PN}/" HEAD | xz > "${tar}" || die "creating tar failed" - einfo "Packaged tar now available:" - einfo "$(du -b "${tar}")" -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - maint_pkg_create - else - default - fi -} - -_emake() { - # USE flag settings are enforced by REQUIRED_USE. - local hash=$(usex openssl openssl $(usex gcrypt gcrypt mhash)) - - # Probably want to expand this at some point. - local host_os="Linux" - - emake \ - CC="$(tc-getCC)" \ - ECHO="echo" \ - TEST="test" \ - INSTALL="install" \ - HASH_TYPE="${hash}" \ - HOST_OS="${host_os}" \ - BINOWN="$(id -u)" \ - BINGRP="$(id -g)" \ - BINDIR="\$(PREFIX)/usr/bin" \ - MANDIR="\$(PREFIX)/usr/share/man" \ - "$@" -} - -src_compile() { - _emake PREFIX="${EPREFIX}" -} - -src_install() { - dodir /usr/bin /usr/share/man/man1 - _emake PREFIX="${ED}" install - dodoc samples/*.conf -} diff --git a/dev-vcs/cvsync/cvsync-9999.ebuild b/dev-vcs/cvsync/cvsync-9999.ebuild deleted file mode 100644 index 974b64224953..000000000000 --- a/dev-vcs/cvsync/cvsync-9999.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/cvsync/cvsync.git" - inherit git-r3 -else - SRC_URI="mirror://gentoo/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - S="${WORKDIR}/${PN}" -fi - -DESCRIPTION="portable CVS repository synchronization utility" -HOMEPAGE="https://github.com/cvsync/cvsync" - -LICENSE="BSD" -SLOT="0" -IUSE="gcrypt mhash +openssl" -REQUIRED_USE="!openssl? ( ^^ ( gcrypt mhash ) )" - -RDEPEND="sys-libs/zlib - openssl? ( dev-libs/openssl:0= ) - !openssl? ( - gcrypt? ( dev-libs/libgcrypt:0= ) - mhash? ( app-crypt/mhash ) - )" -DEPEND="${RDEPEND}" - -maint_pkg_create() { - cd "${S}" - local ver=$(date --date="$(git log -n1 --pretty=format:%ci HEAD)" -u "+%Y.%m.%d.%H%M%S") - local tar="${T}/${PN}-${ver}.tar.xz" - git archive --prefix "${PN}/" HEAD | xz > "${tar}" || die "creating tar failed" - einfo "Packaged tar now available:" - einfo "$(du -b "${tar}")" -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - maint_pkg_create - else - default - fi -} - -_emake() { - # USE flag settings are enforced by REQUIRED_USE. - local hash=$(usex openssl openssl $(usex gcrypt gcrypt mhash)) - - # Probably want to expand this at some point. - local host_os="Linux" - - emake \ - CC="$(tc-getCC)" \ - ECHO="echo" \ - TEST="test" \ - INSTALL="install" \ - HASH_TYPE="${hash}" \ - HOST_OS="${host_os}" \ - BINOWN="$(id -u)" \ - BINGRP="$(id -g)" \ - BINDIR="\$(PREFIX)/usr/bin" \ - MANDIR="\$(PREFIX)/usr/share/man" \ - "$@" -} - -src_compile() { - _emake PREFIX="${EPREFIX}" -} - -src_install() { - dodir /usr/bin /usr/share/man/man1 - _emake PREFIX="${ED}" install - dodoc samples/*.conf -} diff --git a/dev-vcs/cvsync/metadata.xml b/dev-vcs/cvsync/metadata.xml deleted file mode 100644 index 0fe8ea3dcc7f..000000000000 --- a/dev-vcs/cvsync/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -<use> - <flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> for hash functions.</flag> - <flag name="mhash">Use <pkg>app-crypt/mhash</pkg> for hash functions.</flag> - <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> for hash functions.</flag> -</use> -<upstream> - <remote-id type="github">cvsync/cvsync</remote-id> -</upstream> -</pkgmetadata> |