summaryrefslogtreecommitdiff
path: root/app-office/pybliographer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/pybliographer
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/pybliographer')
-rw-r--r--app-office/pybliographer/Manifest5
-rw-r--r--app-office/pybliographer/metadata.xml20
-rw-r--r--app-office/pybliographer/pybliographer-1.2.15-r1.ebuild66
3 files changed, 91 insertions, 0 deletions
diff --git a/app-office/pybliographer/Manifest b/app-office/pybliographer/Manifest
new file mode 100644
index 000000000000..2c57770ff379
--- /dev/null
+++ b/app-office/pybliographer/Manifest
@@ -0,0 +1,5 @@
+DIST pybliographer-1.2.15.tar.gz 1859977 SHA256 dde66734e3839de92fe068c7804c1e580a049dfe91316df47ec0552236de6ce4 SHA512 f4b3478f60f042ebc7538f044a8c4014fda5202576e3f894b31c79430400e834c59f859f895efa187a89016f4e2625ee6be20751f31843e179fbdfb54ba65330 WHIRLPOOL 0bba23bce6deb39ec5efaac5c9e966c8e70853096e37fedfdb0dbcf41030247df715b55233977a0261c2a21c6e8cfb35b4cf6551ab2908baa889e4502ace0e92
+EBUILD pybliographer-1.2.15-r1.ebuild 1760 SHA256 58b389eeaa9882aeb33b2ac3ab3c75a4c86e4e180cac712d55ecb551aeeb5209 SHA512 9dab7c720e87b3e53a578b996ba5aeb80dcf0801d890ffb3c57d878f8349d603cb7bf9871c0f7642d278b7d0ef89ef4aaa4bc291542c049554c05471972a9b1c WHIRLPOOL 181a74a92c396ae5fb4e13610093725f1f8ef80d144afdeef56fffba6929cc2aca995187756e4cb54df6a950c1e496ccfa6ba533859181cb564b9f0554e23a93
+MISC ChangeLog 2590 SHA256 6dc9a0ebb5492c2282cee94f96e1502205c6dd2c06a524ed81d11640e53d0070 SHA512 dc9d00bb08653a4f555c73062346355ccfb1797ffcd37803505d3dcaed9b01224b04bd704682eae08ae464ef955691db4927dc68736ba5d6cb6535f6dd5b219a WHIRLPOOL 42e1dc06f95d5223230027dc48359dda653b40be88ce80e827f56f826a6d6ef0898bc3b6af583c8f51eaed9fd6a998773c0408ed98dc2658c8c8020fc07490ad
+MISC ChangeLog-2015 5282 SHA256 0e84baea293027b9c177977c776176f60550149cca03105800c0c8bd8483cd99 SHA512 9212594e2f5adcf61c68085edbcf9c7193c79dab97980bb7aa44b9d1c5be24c0239e3d4b01c69835a7acfae054ea8d3cd0e0111af7302beeb14300a95aeb0ba4 WHIRLPOOL da323df1f3f462a6c1c4d51fbd84cea0ee7fb9978138d9a91f7d25063b6dfc57fc837e24d23303a5fb00efbcd9c8d5026583b0113eeb124fda5f207526d761d7
+MISC metadata.xml 798 SHA256 8cf4adaecc64dcfa77282d146e7b8fafbbf92914ba19147fb7a2b8cc0a114d2e SHA512 c4500b3e827f3db81c9851e9b72f81f9f0cfe65bff3143a92b4ab4f23685ff87e7607471136f8adf192f4117ce6834b0213eadea954c5d382c7d072280880d03 WHIRLPOOL b1bbe8a438e6997ba98827409a0952cadeb6b90da6ac14295177e78ed01f065fa7d2e709422f4d42fe7a8bd250753db06a56252d3d0cef169e917f76321cafbf
diff --git a/app-office/pybliographer/metadata.xml b/app-office/pybliographer/metadata.xml
new file mode 100644
index 000000000000..5c137d32d2b0
--- /dev/null
+++ b/app-office/pybliographer/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Pybliographer is a tool for managing bibliographic databases, with
+ the following features:
+ * a user-friendly Gnome interface for editing, searching, inserting
+ your citations in LyX, Kile and OpenOffice.org, searching external
+ databases like PubMed, Web of Science, Citeseer, and more.
+ * powerful APIs to integrate these features into your own custom
+ application, with your own specific database schema.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">pybliographer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild b/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild
new file mode 100644
index 000000000000..d38eb93c8ab7
--- /dev/null
+++ b/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+GCONF_DEBUG="no"
+
+inherit autotools gnome2 python-single-r1
+
+DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
+HOMEPAGE="http://pybliographer.org/"
+SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=app-text/recode-3.6-r1
+ app-text/rarian
+ dev-libs/glib:2
+ dev-python/gconf-python:2[${PYTHON_USEDEP}]
+ dev-python/gnome-vfs-python:2[${PYTHON_USEDEP}]
+ dev-python/libgnome-python:2[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ >=dev-python/python-bibtex-1.2.5[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ app-text/gnome-doc-utils
+"
+
+src_prepare() {
+ # Workaround for bug 487204.
+ sed -i \
+ -e 's:\$(srcdir)/::g' \
+ tests/Makefile.am || die "sed failed"
+
+ # Install Python modules into site-packages directories.
+ find -name Makefile.am | xargs sed -i \
+ -e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed"
+ sed -i \
+ -e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \
+ etc/installer.in || die "sed failed"
+ sed -i \
+ -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \
+ Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"
+
+ # Fix shebang manually as otherwise python_fix_shebang gets confused
+ sed -i -e 's: @python_path@:/usr/bin/python2:' pybliographer.py || die
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure --disable-depchecks
+}
+
+src_install() {
+ gnome2_src_install
+ python_fix_shebang "${D}"
+}