Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/unison/
Date: Thu, 29 Oct 2020 01:50:01
Message-Id: 1603934799.85553f7e2a333c9b7ca839563f8cd9c6060ab9f4.sam@gentoo
1 commit: 85553f7e2a333c9b7ca839563f8cd9c6060ab9f4
2 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
3 AuthorDate: Wed Oct 28 11:34:10 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 29 01:26:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85553f7e
7
8 net-misc/unison: remove old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
12 Closes: https://github.com/gentoo/gentoo/pull/18056
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-misc/unison/Manifest | 1 -
16 net-misc/unison/unison-2.51.3.ebuild | 97 ------------------------------------
17 2 files changed, 98 deletions(-)
18
19 diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest
20 index ad624096e76..3a032f49316 100644
21 --- a/net-misc/unison/Manifest
22 +++ b/net-misc/unison/Manifest
23 @@ -1,5 +1,4 @@
24 DIST unison-2.48.15v4.tar.gz 1911781 BLAKE2B d3dabea1b8b0d2a8c64716144d33265ba904d7658f64c7f0e74b47a1dd10cf2b692d150052e3234be74aedbcf35a37fe1da9f393802c96810e36ef115609dcec SHA512 658b37fd18d8dee517e88ad707f7e80c1731542a0e07e6a8d56e6598e38bcf405cdb8db224274bf9b3319ed87efc45057d1f79e6437c4ca53afe9cec4afe6c78
25 DIST unison-2.48.4-manual.html 278110 BLAKE2B 8a85662399aff31a016964783b32c195cb32f5e6bab44c2f0f08740ab88393f4c73b98ecf58d6930bf103c1bec45720306343fa9fe39d3cdd73ffbbac2b9093c SHA512 b995712cda51d612bd81c89589d872099b3b9c90f7413268b24ab399a1eff7690200980514a834ee3d12bd3c89ef61bb8a29b3970c01433e0c4671d363a96b68
26 DIST unison-2.48.4-manual.pdf 516093 BLAKE2B 8e752a01b8c4335d6687b1f4f20ee09fda90b7521b7ed87af43273416fb3119682078d969772e8c3f7395ef499257dafd67c455a4646868008090ea15063869e SHA512 514da1eda0405416e53b1c8e027d39a803f9030824deccfaf5630aec21c52c6c9ea0d1006461faa8fb26738f4a33eecfe1ae24126fdb7a53ada6b90db270e6c9
27 -DIST unison-2.51.3.tar.gz 1370060 BLAKE2B 3e082c5de8c68d87fd4d061dbcf535b9001bd3bacd740fede4e94a239bc554e463c0493260748df61527304d2f874cb194f629fb1f066a47be5a5e54360f3cb7 SHA512 202bc592cf18d3ac76d7e29ec71add5d6e33a96b4b885e0e2add9a5a621db2290184f268c70e4f05e4884d6cdfed09f6fcd3dde85681c39628a10ea552917c8f
28 DIST unison-2.51.3_p20201024.tar.gz 1371551 BLAKE2B 780cc176ed203345408551aaa11990e4da1ec0d4adfd928f3e8ff9c180f35fafb6ac097c00c95da8fe9178db122ea025e9f4336413f0694cea099ab80e2ae00e SHA512 87c7ce33621bc323607e901547da30b8fc0a842ba35128627f5d44fb4befd76ff94586ec1f8eb1f3359da756d09d8bf2481cf0d6eb2ea421113e0e4efdcbdf61
29
30 diff --git a/net-misc/unison/unison-2.51.3.ebuild b/net-misc/unison/unison-2.51.3.ebuild
31 deleted file mode 100644
32 index 8abdd80a5ad..00000000000
33 --- a/net-misc/unison/unison-2.51.3.ebuild
34 +++ /dev/null
35 @@ -1,97 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -inherit desktop xdg-utils
42 -
43 -DESCRIPTION="Two-way cross-platform file synchronizer"
44 -HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/"
45 -SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 -# Not available for the rcs
47 -#SRC_URI+=" doc? (
48 -# https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf
49 -# https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html
50 -# )"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="$(ver_cut 1-2)"
54 -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
55 -IUSE="debug gtk +ocamlopt threads"
56 -RESTRICT="!ocamlopt? ( strip )"
57 -
58 -# ocaml version so we are sure it has ocamlopt use flag
59 -BDEPEND="dev-lang/ocaml:=[ocamlopt?]"
60 -DEPEND="gtk? ( dev-ml/lablgtk:2= )"
61 -RDEPEND="gtk? ( dev-ml/lablgtk:2=
62 - || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) )
63 - >=app-eselect/eselect-unison-0.4"
64 -
65 -DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt )
66 -
67 -src_compile() {
68 - local myconf="all"
69 -
70 - if use threads; then
71 - myconf="$myconf THREADS=true"
72 - fi
73 -
74 - if use debug; then
75 - myconf="$myconf DEBUGGING=true"
76 - fi
77 -
78 - if use gtk; then
79 - myconf="$myconf UISTYLE=gtk2"
80 - else
81 - myconf="$myconf UISTYLE=text"
82 - fi
83 -
84 - use ocamlopt || myconf="$myconf NATIVE=false"
85 -
86 - # Discard cflags as it will try to pass them to ocamlc...
87 - emake $myconf CFLAGS=""
88 -}
89 -
90 -src_test() {
91 - emake test CFLAGS=""
92 -}
93 -
94 -src_install() {
95 - # install manually, since it's just too much
96 - # work to force the Makefile to do the right thing.
97 - local binname
98 - cd src || die
99 - for binname in unison unison-fsmonitor; do
100 - newbin ${binname} ${binname}-${SLOT}
101 - done
102 -
103 - if use gtk; then
104 - newicon -s scalable ../icons/U.svg ${PN}-${SLOT}.svg
105 - make_desktop_entry unison-${SLOT} "${PN} (${SLOT})" "${EPREFIX}/usr/share/icons/hicolor/scalable/apps/${PN}-${SLOT}.svg"
106 - fi
107 -
108 - # No docs for release candidates
109 - #if use doc; then
110 - # DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
111 - # HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
112 - #fi
113 -
114 - einstalldocs
115 -}
116 -
117 -pkg_postinst() {
118 - elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}"
119 - elog "in your profile files to access exactly this version over ssh."
120 - elog "Or you can use 'eselect unison' to set the version."
121 - eselect unison update || die
122 -
123 - if use gtk; then
124 - xdg_icon_cache_update
125 - fi
126 -}
127 -
128 -pkg_postrm() {
129 - if use gtk; then
130 - xdg_icon_cache_update
131 - fi
132 -}