diff options
Diffstat (limited to 'app-admin/github-backup-utils')
24 files changed, 1122 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/Manifest b/app-admin/github-backup-utils/Manifest new file mode 100644 index 000000000000..c422aba7908f --- /dev/null +++ b/app-admin/github-backup-utils/Manifest @@ -0,0 +1,37 @@ +AUX github-backup-utils-python27.patch 497 BLAKE2B 204708abe587590b2479783f5fc355ab035a08af8dd85ccec600828384917ca6806abe3d50ada9ce133435b797d698699d777432e49f8a63513b2ae21e59baaf SHA512 9eb416ea2a9847d84d56da84c6355942f3320f8ed97711e602ab74e81f9dca32eff54f68a83586403c415e63fb7d13a0b6b67aa7b01cd05732160df08b9164a7 +AUX github-backup-utils-tarball-fix.patch 1440 BLAKE2B 8b6ff7b996317de913f82670da1e688bfb2796b51db9cb515a6a2d33d2f690e24030b9213c0ebd08fab316aded4d561f9b0d5e2fb1fc5f20d0190234e59e64af SHA512 738227c94b8c9cb569258ce2573db0ff9c8a216c74d891944969173add6eb31c0c46696d20977d986b5c29a9cdb2b3934563ed220527ef798de1cbeb680f6533 +DIST github-backup-utils-2.10.0.tar.gz 73061 BLAKE2B 072a3cf8b3a775b368e4f5c89f7b9b29f7fec26bf4fd9abec58a6f1d4f02a981881a547bbdede8f8b64d0ed01dfba334193132a5d1363de3f4cd8f11d9047602 SHA512 e4ec432289da71e7c8d50023e4874b4aef5e99b27f67c42ebadc61473f5b0bce473f768ff19d1d611d91944ce887ad496535f1bc8d6557a31a99353e100f7776 +DIST github-backup-utils-2.11.0.tar.gz 75105 BLAKE2B f14f30db263cc304aac0d2a9a6d82883067b80bd69292018876fa1b01b1e47d9f8dd44bdafed0eb1198fdabe2b25ec8e6f20117ae905a2ae17bb9a17174642ea SHA512 7d96aff4c2e2bcce7b2b2d32854e759d561de8e683a13d3890bbbc5177cea861a666a60527b4b6ec4d4d7e8123bfff4618b6dfd0c3db73b1829cca0c43c0a9ec +DIST github-backup-utils-2.11.1.tar.gz 79378 BLAKE2B d887cf6d3e41c1537816edc6073a85c66dcaae0db5882187f5c9202ecaef0c7ad6c3593145a6619cc27e106cacd5343f4b26615569890e112db4ec67f98293f6 SHA512 7bdd34386d8604bfddb07d958d6cc435ec3e00705a83e53730f44a82a02eb98be311b73bba299db80513169a0680641927d9e2e9583b936c4fffa86de2ce2cda +DIST github-backup-utils-2.11.2.tar.gz 79492 BLAKE2B 0eeba783fda89c862d1b6ecb56bc51dcb5130cc3ae8b35f38bba2b6fd850ee086d0b808f5cebb74617a1dea2f4ea3843c60a6162ac97e3139211b3796cc052d9 SHA512 64a622b090c8fe02ffba3c50b213ca177cc87e6aa41991cc3ee5031fc07b707e5f108f32d9346d2cd727939d76779d1f46dc6733e399c70e58ff8cb54087ddb8 +DIST github-backup-utils-2.13.0.tar.gz 79173 BLAKE2B 567865ede11d200a9dbc4641d9820864d72a325aa6b6439f3633b5fccf2d2a55fdd8f9351a280321d0ee5a1bc7f331369ed09b2e8e5274a9442f98227c82963c SHA512 e78c299b0131d76bd9f5d916f72a1a361a8ea706789c93d60b1980d348c4dad75e371ad84c725d8d8b05c45984d0edcf612d1a9e69e63657c212a848d359ad28 +DIST github-backup-utils-2.13.2.tar.gz 83126 BLAKE2B f79d378a1126a16f366930a40ca6db43865c2615edb65b13a3b4a1ac693f3f3419f6b821ec4454cd2b4858fd13038ca66e158c37338b671f69f14aca2e36c6de SHA512 b394dfde420d2f1adbaad6b61a665fa99e6a35007fd5162114ec01629a04be31780f3f36e9133456bbb015c6a3939430b5d65572e580d8757f023a2309d104ca +DIST github-backup-utils-2.5.0.tar.gz 40850 BLAKE2B 34f16e290619a21edef11410a583357a15b57c9a6a0d20b188863f5c41a7a30bcc168a2337ff7203de6f5659c611178bed0e0cff3d802c1ec923d7c4d8e1ee3a SHA512 ecd5b85e0e2e300a9f40ecb8f545868554c7b48bdf800a21cf111ead80c185c96d475c67487c9b9e8af676f8c71a001730084abde79e05860b3e24004888292d +DIST github-backup-utils-2.6.0.tar.gz 45970 BLAKE2B 855c7e93aa4db136629db8ba109328d51b9e9ca82aef1190a9703be2cc456ac006cd6bacaf1d3ffe9ccd8d43fb83c15c30c9b514abd37fb2104e62b2e1ed51fa SHA512 a795e439f9d28e27b457c5b6eb42f35d6aea1527c2a01a26b81d6e86829db14a0b27a366d9358214bbe1c16540fe524fb0010d5f509c78ba5398c6bdbf04182e +DIST github-backup-utils-2.6.3.tar.gz 50884 BLAKE2B 43e8c398da11f891230a7910fc29d9fc702f5985c8bda5388f8415446e12a3408383ee5a76a26f2519625be3bf442600e4281a4e10e24b5a1143ac4ca1934442 SHA512 dff092325ad6f3502c8c0afbea90a53469af0ab4b98eaa39a950022c5b4e199cd3b48b5ec0585e3ea39b9bbd707dd037e8e0ed00ed8c6858276ba1a8e1075290 +DIST github-backup-utils-2.6.4.tar.gz 51270 BLAKE2B 84d880d71b92d1b92f52dc3b749cb984a6f2e2e98eee1ecb4efc48dabf54fbb48a8a936d0422f7391adf3ea27265f6ea266045cf4ed509fd675ba2ac908abda7 SHA512 be2ef9811e20fd9be03d1b57e75151089817bbdd87fa487462a8fe6186195581ad6b1c62b1b930bd64689e89dcf33c2228df7d77a12790404f09b679b1ecf377 +DIST github-backup-utils-2.7.0.tar.gz 51409 BLAKE2B 5e1c5d55376af6f053b634ffbef4b97bd8f5a5126e6180bc95e21d372e311f863f653b630f4ecf2cf0c589b3b059e0a60e63ebeaa79d55c6333f7d34632adb35 SHA512 16112e8d05001146a182e225c1bb5bdfbe210ddb3993d989a9fe88b88bbf222196a66f1f48b262b198675af8e4b3e3a10120e7dafa7b244137bf29cd879efaaf +DIST github-backup-utils-2.7.1.tar.gz 68793 BLAKE2B e65ac6c4e0018947be34d27bcf428d81ebdd138137fdbd1d15b6d77a7f2bc4b95a5ef00e0db1462b61b3015e2d2a54e1cd4e610857b7a156cbac9f5f912ad2ed SHA512 950c24b3fef8775c2a90789c469a81256323c1ede67b3f6691920e78c1489533adf5616f2ac09f9b844382778b5b2b5106f8c467be7d65b47ee06bf732591880 +DIST github-backup-utils-2.8.2.tar.gz 71392 BLAKE2B b45939693f2b545562b77abc897b54c4d980638c7e2b605d84deb4b251f8d702543829fe7138222aa25f740a033a73d52fbde6f735e3d510ca61c00be99ec82d SHA512 d3801d37f18b41594bfee83b891ce1eb9f1a15972839bd9dfb6469d311484ef94f635da4319b0b9f2d6778d87b935ca5c0bd42ddbf009f292e05b6a654464bf4 +DIST github-backup-utils-2.9.0.tar.gz 72512 BLAKE2B 3bb97609284dca1b3682d17e1c60e24a2169574691eb8463141951e2d5f93558ffbda3c7bec7f22c7a63dabe6bdf410c347f7512a09303653e5f939197d4faef SHA512 81af0842c021c49be8acca775d1ab375e98c2b725893f45d65b670e671892d779408677dfe6ed415101bf88fe549d117957bffef0aa372a74bcd7c6f87c1d12b +EBUILD github-backup-utils-2.10.0-r1.ebuild 1165 BLAKE2B 0789a905aabb2e370d35868f89223bcd9b0ccb0100f186410f72c026747cbef9ed68b4346f37c3349e2da5a34db21ff711db8d24230d8a58f2105c2dfc3009df SHA512 fe99dae0e4dc7e7c66c33ea61488f10c62ca656829f809b7d69dc83565183dbd7528f682df71c66e9f2ad2008e7a499abe3991cbfffa53d17bcb1cf4c3057c34 +EBUILD github-backup-utils-2.10.0.ebuild 893 BLAKE2B 70055ac1dc8372d877d4f0e4361b94d3ba60334b0bea5ce284a537f137641e09a6d14fbce96a62dd9a109d48b3b76b49810cb8a8554b9882d5915b8f159c1a26 SHA512 2ade504c613988d9238786435f333572975c9e1f180cea52dac9394c8b380b3e33c33a23951f4add9961bef4dfe9cf1e8e96970fc85086d299841c29fb3716c1 +EBUILD github-backup-utils-2.11.0-r1.ebuild 1165 BLAKE2B 0789a905aabb2e370d35868f89223bcd9b0ccb0100f186410f72c026747cbef9ed68b4346f37c3349e2da5a34db21ff711db8d24230d8a58f2105c2dfc3009df SHA512 fe99dae0e4dc7e7c66c33ea61488f10c62ca656829f809b7d69dc83565183dbd7528f682df71c66e9f2ad2008e7a499abe3991cbfffa53d17bcb1cf4c3057c34 +EBUILD github-backup-utils-2.11.0.ebuild 893 BLAKE2B 70055ac1dc8372d877d4f0e4361b94d3ba60334b0bea5ce284a537f137641e09a6d14fbce96a62dd9a109d48b3b76b49810cb8a8554b9882d5915b8f159c1a26 SHA512 2ade504c613988d9238786435f333572975c9e1f180cea52dac9394c8b380b3e33c33a23951f4add9961bef4dfe9cf1e8e96970fc85086d299841c29fb3716c1 +EBUILD github-backup-utils-2.11.1-r1.ebuild 1165 BLAKE2B 0789a905aabb2e370d35868f89223bcd9b0ccb0100f186410f72c026747cbef9ed68b4346f37c3349e2da5a34db21ff711db8d24230d8a58f2105c2dfc3009df SHA512 fe99dae0e4dc7e7c66c33ea61488f10c62ca656829f809b7d69dc83565183dbd7528f682df71c66e9f2ad2008e7a499abe3991cbfffa53d17bcb1cf4c3057c34 +EBUILD github-backup-utils-2.11.1.ebuild 893 BLAKE2B 70055ac1dc8372d877d4f0e4361b94d3ba60334b0bea5ce284a537f137641e09a6d14fbce96a62dd9a109d48b3b76b49810cb8a8554b9882d5915b8f159c1a26 SHA512 2ade504c613988d9238786435f333572975c9e1f180cea52dac9394c8b380b3e33c33a23951f4add9961bef4dfe9cf1e8e96970fc85086d299841c29fb3716c1 +EBUILD github-backup-utils-2.11.2-r1.ebuild 1165 BLAKE2B 0789a905aabb2e370d35868f89223bcd9b0ccb0100f186410f72c026747cbef9ed68b4346f37c3349e2da5a34db21ff711db8d24230d8a58f2105c2dfc3009df SHA512 fe99dae0e4dc7e7c66c33ea61488f10c62ca656829f809b7d69dc83565183dbd7528f682df71c66e9f2ad2008e7a499abe3991cbfffa53d17bcb1cf4c3057c34 +EBUILD github-backup-utils-2.11.2.ebuild 893 BLAKE2B 70055ac1dc8372d877d4f0e4361b94d3ba60334b0bea5ce284a537f137641e09a6d14fbce96a62dd9a109d48b3b76b49810cb8a8554b9882d5915b8f159c1a26 SHA512 2ade504c613988d9238786435f333572975c9e1f180cea52dac9394c8b380b3e33c33a23951f4add9961bef4dfe9cf1e8e96970fc85086d299841c29fb3716c1 +EBUILD github-backup-utils-2.13.0.ebuild 930 BLAKE2B 185c34081fd6caa7343747e0ac870f18a24c6d580250774815fbc2d1df9b3c3a24823018f00bfb80d2b038a4c1dca32da50824daf558d77d27afe84c2681b348 SHA512 f6c25a3358217c0090a52e076eb138cdd82a349a8f32f1530a6cb1ce02e52acee765ad139244ba7c13c0930eacd7212706bfa00702dc089778e430e53bed6655 +EBUILD github-backup-utils-2.13.2.ebuild 930 BLAKE2B 185c34081fd6caa7343747e0ac870f18a24c6d580250774815fbc2d1df9b3c3a24823018f00bfb80d2b038a4c1dca32da50824daf558d77d27afe84c2681b348 SHA512 f6c25a3358217c0090a52e076eb138cdd82a349a8f32f1530a6cb1ce02e52acee765ad139244ba7c13c0930eacd7212706bfa00702dc089778e430e53bed6655 +EBUILD github-backup-utils-2.5.0.ebuild 868 BLAKE2B 36bdc6369b2b535dac992641bcfa4c323325e5811d9a581742d5c06079a10c75220f7b11557b983e77ca83cdb9757f38a11ebb421d2fa9fdce5bc0e82c5a3f70 SHA512 023dd525af06cd12a7770185d0e0ae5adab996167984bc9c5e3466d0e9e7f69d5f205427b6723c4e16e02ca24732b5c4b4ed2895b5a53ef9bf96ebc2c0141274 +EBUILD github-backup-utils-2.6.0.ebuild 868 BLAKE2B 36bdc6369b2b535dac992641bcfa4c323325e5811d9a581742d5c06079a10c75220f7b11557b983e77ca83cdb9757f38a11ebb421d2fa9fdce5bc0e82c5a3f70 SHA512 023dd525af06cd12a7770185d0e0ae5adab996167984bc9c5e3466d0e9e7f69d5f205427b6723c4e16e02ca24732b5c4b4ed2895b5a53ef9bf96ebc2c0141274 +EBUILD github-backup-utils-2.6.3.ebuild 868 BLAKE2B 36bdc6369b2b535dac992641bcfa4c323325e5811d9a581742d5c06079a10c75220f7b11557b983e77ca83cdb9757f38a11ebb421d2fa9fdce5bc0e82c5a3f70 SHA512 023dd525af06cd12a7770185d0e0ae5adab996167984bc9c5e3466d0e9e7f69d5f205427b6723c4e16e02ca24732b5c4b4ed2895b5a53ef9bf96ebc2c0141274 +EBUILD github-backup-utils-2.6.4.ebuild 868 BLAKE2B 36bdc6369b2b535dac992641bcfa4c323325e5811d9a581742d5c06079a10c75220f7b11557b983e77ca83cdb9757f38a11ebb421d2fa9fdce5bc0e82c5a3f70 SHA512 023dd525af06cd12a7770185d0e0ae5adab996167984bc9c5e3466d0e9e7f69d5f205427b6723c4e16e02ca24732b5c4b4ed2895b5a53ef9bf96ebc2c0141274 +EBUILD github-backup-utils-2.7.0-r1.ebuild 893 BLAKE2B 7765fe74f2a68cec46e692b458639e3af4736844dc69e5023ee137ff0e3fec18211948edc96126cfcbf56a7fc8df25ee538b8ba62f0aeb4786c35125a8d7b54e SHA512 7ddc82153106396b2b450d062c735257aa961b4329f5d5337db5391d5ebc57835e56755d600ec9923a4ca66569a3c590e05a8571a9484e2b67692a5769da3cfb +EBUILD github-backup-utils-2.7.0.ebuild 868 BLAKE2B 36bdc6369b2b535dac992641bcfa4c323325e5811d9a581742d5c06079a10c75220f7b11557b983e77ca83cdb9757f38a11ebb421d2fa9fdce5bc0e82c5a3f70 SHA512 023dd525af06cd12a7770185d0e0ae5adab996167984bc9c5e3466d0e9e7f69d5f205427b6723c4e16e02ca24732b5c4b4ed2895b5a53ef9bf96ebc2c0141274 +EBUILD github-backup-utils-2.7.1.ebuild 893 BLAKE2B 7765fe74f2a68cec46e692b458639e3af4736844dc69e5023ee137ff0e3fec18211948edc96126cfcbf56a7fc8df25ee538b8ba62f0aeb4786c35125a8d7b54e SHA512 7ddc82153106396b2b450d062c735257aa961b4329f5d5337db5391d5ebc57835e56755d600ec9923a4ca66569a3c590e05a8571a9484e2b67692a5769da3cfb +EBUILD github-backup-utils-2.8.2.ebuild 893 BLAKE2B 7765fe74f2a68cec46e692b458639e3af4736844dc69e5023ee137ff0e3fec18211948edc96126cfcbf56a7fc8df25ee538b8ba62f0aeb4786c35125a8d7b54e SHA512 7ddc82153106396b2b450d062c735257aa961b4329f5d5337db5391d5ebc57835e56755d600ec9923a4ca66569a3c590e05a8571a9484e2b67692a5769da3cfb +EBUILD github-backup-utils-2.9.0-r1.ebuild 1145 BLAKE2B 0b23e1a2d1505180be708b88f38b97a0c685490427555d68da01c786e44e5eb0772c69279906e4ff6111a68ac25af199f584b5809d62722f5fc7d95b657f7b03 SHA512 8b82f71361d6ad56ed36e733ad563ecbc736021de5cedeff77e5f9c574f3fa7ce2f99a81770372c55378dcf54bd1a542905ea1eee1dce6fc86ed064e262c6d94 +EBUILD github-backup-utils-2.9.0.ebuild 893 BLAKE2B 70055ac1dc8372d877d4f0e4361b94d3ba60334b0bea5ce284a537f137641e09a6d14fbce96a62dd9a109d48b3b76b49810cb8a8554b9882d5915b8f159c1a26 SHA512 2ade504c613988d9238786435f333572975c9e1f180cea52dac9394c8b380b3e33c33a23951f4add9961bef4dfe9cf1e8e96970fc85086d299841c29fb3716c1 +MISC metadata.xml 566 BLAKE2B e34ff45fefc466f7fc17c64ef41d72aa5560df6ce4f2a6b758129c3d2d5ffbe4323e4d64a6d01069195a2236f5288823214f4c8310e252c4699de7e5f0282990 SHA512 35a0eb37cedfcd41573c13655d87be23b68af3d3636fe06397565c06a2b78c767f41702ff1487134a3f52169492a1345be2d42a79520a16046a84428e4bf0677 diff --git a/app-admin/github-backup-utils/files/github-backup-utils-python27.patch b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch new file mode 100644 index 000000000000..c305b688ceca --- /dev/null +++ b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch @@ -0,0 +1,13 @@ +diff --git a/test/bin/python b/test/bin/python +index c79b0a4..a9c2991 100755 +--- a/test/bin/python ++++ b/test/bin/python +@@ -18,7 +18,7 @@ cat >/dev/null + # verify the python compiles at least. if this fails then the python code passed + # to -c failed basic syntax checks. + echo "$2" | +-/usr/bin/python -c "import sys; __import__('compiler').parse(sys.stdin.read())" ++/usr/bin/python2.7 -c "import sys; __import__('compiler').parse(sys.stdin.read())" + + # pretend we found zero processes. + echo 0 diff --git a/app-admin/github-backup-utils/files/github-backup-utils-tarball-fix.patch b/app-admin/github-backup-utils/files/github-backup-utils-tarball-fix.patch new file mode 100644 index 000000000000..b0f0b8de3140 --- /dev/null +++ b/app-admin/github-backup-utils/files/github-backup-utils-tarball-fix.patch @@ -0,0 +1,39 @@ +commit ef6709b5e3510a7d0bcf0db91dbf5af5bc27b001 +Author: Austin English <austinenglish@gmail.com> +Date: Tue Nov 28 16:36:39 2017 -0600 + + test/test-ghe-backup.sh: skip test if not in a git checkout + +diff --git a/test/test-ghe-backup.sh b/test/test-ghe-backup.sh +index 296429e..08bced2 100755 +--- a/test/test-ghe-backup.sh ++++ b/test/test-ghe-backup.sh +@@ -475,14 +475,20 @@ begin_test "ghe-backup stores version when not run from a clone" + # Make sure this doesn't exist + rm -f "$GHE_REMOTE_DATA_USER_DIR/common/backup-utils-version" + +- tmpdir=$(mktemp -d $TRASHDIR/foo.XXXXXX) +- git clone $ROOTDIR $tmpdir/backup-utils +- cd $tmpdir/backup-utils +- rm -rf .git +- ./bin/ghe-backup +- +- # verify that ghe-backup wrote its version information to the host +- [ -f "$GHE_REMOTE_DATA_USER_DIR/common/backup-utils-version" ] ++ tmpdir=$(mktemp -d "$TRASHDIR/foo.XXXXXX") ++ ++ # If user is running the tests extracted from a release tarball, git clone will fail. ++ if GIT_DIR="$ROOTDIR/.git" git rev-parse --is-inside-work-tree > /dev/null 2>&1; then ++ git clone "$ROOTDIR" "$tmpdir/backup-utils" ++ cd "$tmpdir/backup-utils" ++ rm -rf .git ++ ./bin/ghe-backup ++ ++ # Verify that ghe-backup wrote its version information to the host ++ [ -f "$GHE_REMOTE_DATA_USER_DIR/common/backup-utils-version" ] ++ else ++ echo ".git directory not found, skipping ghe-backup not from a clone test" ++ fi + ) + end_test + diff --git a/app-admin/github-backup-utils/github-backup-utils-2.10.0-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.10.0-r1.ebuild new file mode 100644 index 000000000000..ffe55dede38c --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.10.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # skip a test that depends on a git checkout: https://bugs.gentoo.org/629628 + eapply "${FILESDIR}/github-backup-utils-tarball-fix.patch" + + # Fix for python3 systems + eapply "${FILESDIR}/github-backup-utils-python27.patch" +} + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.10.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.10.0.ebuild new file mode 100644 index 000000000000..586f3c415df5 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.10.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.0-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.0-r1.ebuild new file mode 100644 index 000000000000..ffe55dede38c --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # skip a test that depends on a git checkout: https://bugs.gentoo.org/629628 + eapply "${FILESDIR}/github-backup-utils-tarball-fix.patch" + + # Fix for python3 systems + eapply "${FILESDIR}/github-backup-utils-python27.patch" +} + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.0.ebuild new file mode 100644 index 000000000000..586f3c415df5 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.1-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.1-r1.ebuild new file mode 100644 index 000000000000..ffe55dede38c --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # skip a test that depends on a git checkout: https://bugs.gentoo.org/629628 + eapply "${FILESDIR}/github-backup-utils-tarball-fix.patch" + + # Fix for python3 systems + eapply "${FILESDIR}/github-backup-utils-python27.patch" +} + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild new file mode 100644 index 000000000000..586f3c415df5 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.2-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.2-r1.ebuild new file mode 100644 index 000000000000..ffe55dede38c --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.2-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # skip a test that depends on a git checkout: https://bugs.gentoo.org/629628 + eapply "${FILESDIR}/github-backup-utils-tarball-fix.patch" + + # Fix for python3 systems + eapply "${FILESDIR}/github-backup-utils-python27.patch" +} + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.11.2.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.11.2.ebuild new file mode 100644 index 000000000000..586f3c415df5 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.11.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.13.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.13.0.ebuild new file mode 100644 index 000000000000..ef2c730c8778 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.13.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config + +dodoc -r docs/* +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.13.2.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.13.2.ebuild new file mode 100644 index 000000000000..ef2c730c8778 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.13.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + sys-apps/moreutils + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config + +dodoc -r docs/* +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.5.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.5.0.ebuild new file mode 100644 index 000000000000..6c89280fa665 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.5.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.6.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.6.0.ebuild new file mode 100644 index 000000000000..6c89280fa665 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.6.3.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.6.3.ebuild new file mode 100644 index 000000000000..6c89280fa665 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.6.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.6.4.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.6.4.ebuild new file mode 100644 index 000000000000..6c89280fa665 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.6.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild new file mode 100644 index 000000000000..ae86106fc4c4 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.7.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.7.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.7.0.ebuild new file mode 100644 index 000000000000..6c89280fa665 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.7.1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.7.1.ebuild new file mode 100644 index 000000000000..ae86106fc4c4 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.8.2.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.8.2.ebuild new file mode 100644 index 000000000000..ae86106fc4c4 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.8.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.9.0-r1.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.9.0-r1.ebuild new file mode 100644 index 000000000000..4cf72e6606ef --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.9.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + # skip a test that depends on a git checkout: https://bugs.gentoo.org/629628 + eapply "${FILESDIR}/github-backup-utils-tarball-fix.patch" + + # Fix for python3 systems + eapply "${FILESDIR}/github-backup-utils-python27.patch" +} + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/github-backup-utils-2.9.0.ebuild b/app-admin/github-backup-utils/github-backup-utils-2.9.0.ebuild new file mode 100644 index 000000000000..586f3c415df5 --- /dev/null +++ b/app-admin/github-backup-utils/github-backup-utils-2.9.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# See https://github.com/github/backup-utils/issues/135 +PYTHON_COMPAT=(python2_7) +inherit python-any-r1 + +DESCRIPTION="Backup and recovery utilities for GitHub Enterprise" +HOMEPAGE="https://github.com/github/backup-utils" +SRC_URI="https://github.com/github/backup-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( + dev-util/checkbashisms + ${PYTHON_DEPS} +)" + +RDEPEND="net-misc/rsync" + +MY_PN="${PN/#github-/}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + :; +} + +src_install() { + dobin bin/* + insinto usr/share/${PN} + doins share/${PN}/version + + exeinto usr/share/${PN} + doexe share/${PN}/bm.sh + doexe share/${PN}/ghe-* + + insinto etc/${PN} + newins backup.config-example backup.config +} + +src_test() { + emake test +} diff --git a/app-admin/github-backup-utils/metadata.xml b/app-admin/github-backup-utils/metadata.xml new file mode 100644 index 000000000000..3bac2658b1ef --- /dev/null +++ b/app-admin/github-backup-utils/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wizardedit@gentoo.org</email> + <name>Austin English</name> + </maintainer> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription> + Provides backup utilities for Github Enterprise installations. + </longdescription> + <upstream> + <remote-id type="github">github/backup-utils</remote-id> + </upstream> +</pkgmetadata> |