summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamad Issawi <mo@dragona.ca>2017-10-07 15:58:57 -0400
committerPatrice Clement <monsieurp@gentoo.org>2017-10-21 23:31:59 +0200
commit6e4d7f1681d968584ec8890b36540de317bc2b83 (patch)
tree0302f8898d91643123f5a279de3ec5ec5deb8cb2 /net-misc/buka
parentapp-misc/mvcase: EAPI 6 bump. (diff)
downloadgentoo-6e4d7f1681d968584ec8890b36540de317bc2b83.tar.gz
gentoo-6e4d7f1681d968584ec8890b36540de317bc2b83.tar.bz2
gentoo-6e4d7f1681d968584ec8890b36540de317bc2b83.zip
net-misc/buka: added ebuild for 3.0.1.
Replaces fragile regex with proper HTML parsing. Adds dev-python/beautifulsoup and dev-python/requests dependencies. Package-Manager: Portage-2.3.8, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5882
Diffstat (limited to 'net-misc/buka')
-rw-r--r--net-misc/buka/Manifest1
-rw-r--r--net-misc/buka/buka-3.0.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/buka/Manifest b/net-misc/buka/Manifest
index dffa5083b562..6af3b4674c04 100644
--- a/net-misc/buka/Manifest
+++ b/net-misc/buka/Manifest
@@ -1 +1,2 @@
DIST buka-2.0.tar.gz 14088 SHA256 b7d33f15687198a78b7114251038e54ef70f3ef1a74dd84a36176874ca699793 SHA512 809c35fa0caed30c11f438fc5d68a446a2c8a6ffa6b233f5e65bb522d8de8db095ad3ef8c0811a3670a49e3994d4956f917d3d2dfda3ff488ca8793d7389e4a6 WHIRLPOOL 761a9614b41cecc821bc1279d863b620512fd7788a1ec3cbd8ad3d75e89a47ffd8e485b45b323964970ae90c5852becc10fdb61672b19e4d26bae76b67ff0135
+DIST buka-3.0.1.tar.gz 14697 SHA256 9ceb9605a7d9c2b05b2058665a7351dd4cd0c23672c921fd279abcc20bc6f9df SHA512 6893f1ad63130c55d2023abc0839e20f02ae4cede2162ec1d6e52d43f6b49cfc734b569776172b38bf2c208c2b41d123cb7bba9398ad689a22ce6703fa47eb22 WHIRLPOOL 403ecd8f816f28dac18bedb5925991f151f2362981b6bbcdfd191956e2d751f014f8f2e71e0fe898222605c7f3ac27107751f1028fe09419948bbde05567ea80
diff --git a/net-misc/buka/buka-3.0.1.ebuild b/net-misc/buka/buka-3.0.1.ebuild
new file mode 100644
index 000000000000..e6bd026a3990
--- /dev/null
+++ b/net-misc/buka/buka-3.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+COMMIT="45e6b32de708759a4e15181a8e2ad5de55cc78ef"
+S=${WORKDIR}/${P}-${COMMIT}
+
+DESCRIPTION="Download manga from buka.cn"
+HOMEPAGE="https://gitlab.com/drylemon/buka"
+SRC_URI="https://gitlab.com/drylemon/buka/repository/${PV}/archive.tar.gz?ref=${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/beautifulsoup
+ dev-python/requests
+ sys-process/parallel
+ net-misc/curl
+ dev-util/dialog"
+
+src_install()
+{
+ default
+ doman ${PN}.1
+ dobin ${PN}
+ exeinto /usr/share
+ doexe ${PN}-parse
+}
+
+pkg_postinst()
+{
+ optfeature "pdf support" media-gfx/imagemagick
+ optfeature "cbz support" app-arch/zip
+}