|
Lines 6-24
EAPI="5"
Link Here
|
| 6 |
PYTHON_COMPAT=( python2_7 ) |
6 |
PYTHON_COMPAT=( python2_7 ) |
| 7 |
PYTHON_REQ_USE="threads,ssl,xml" |
7 |
PYTHON_REQ_USE="threads,ssl,xml" |
| 8 |
|
8 |
|
| 9 |
inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator |
|
|
| 10 |
|
| 11 |
MY_P=${PN}-${PV} |
9 |
MY_P=${PN}-${PV} |
| 12 |
SERIES=$(get_version_component_range 1-2) |
|
|
| 13 |
|
10 |
|
| 14 |
DESCRIPTION="Bazaar is a next generation distributed version control system" |
11 |
DESCRIPTION="Bazaar is a next generation distributed version control system" |
| 15 |
HOMEPAGE="http://bazaar-vcs.org/" |
12 |
HOMEPAGE="http://bazaar-vcs.org/" |
| 16 |
SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" |
|
|
| 17 |
|
13 |
|
| 18 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
| 19 |
SLOT="0" |
15 |
SLOT="0" |
| 20 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" |
| 21 |
IUSE="curl doc +sftp test" |
17 |
IUSE="curl doc +sftp test" |
|
|
18 |
PLOCALES="ar ast bs ca cs de el en_AU en_GB es fa fo fr gl he id it ja ko ms my nb nl oc pl pt_BR ro ru sco si sk sr sv tr ug uk vi zh_CN" |
| 19 |
|
| 20 |
inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator l10n |
| 21 |
SERIES=$(get_version_component_range 1-2) |
| 22 |
SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz" |
| 22 |
|
23 |
|
| 23 |
RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] ) |
24 |
RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] ) |
| 24 |
sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )" |
25 |
sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )" |
|
Lines 37-42
S="${WORKDIR}/${MY_P}"
Link Here
|
| 37 |
RESTRICT="test" |
38 |
RESTRICT="test" |
| 38 |
|
39 |
|
| 39 |
python_configure_all() { |
40 |
python_configure_all() { |
|
|
41 |
rm_loc() { |
| 42 |
rm "${S}"/po/$1.po || die |
| 43 |
} |
| 44 |
l10n_for_each_disabled_locale_do rm_loc |
| 40 |
# Generate the locales first to avoid a race condition. |
45 |
# Generate the locales first to avoid a race condition. |
| 41 |
esetup.py build_mo |
46 |
esetup.py build_mo |
| 42 |
} |
47 |
} |
| 43 |
- |
|
|