mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
2015-08-11 04:09:40 UTC
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
From 5c0bb9186fe2d65901744b00af24c8c50b3e1d29 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Collins <rbtcollins@hp.com>
|
||||
Date: Mon, 10 Aug 2015 16:22:26 +1200
|
||||
Subject: Handle git being entirely absent
|
||||
|
||||
When we try to find the git directory, if git is not present, treat
|
||||
that the same as an error from git itself. Sadly tests for this are
|
||||
nearly impossible to meaningfully write, since we always have git
|
||||
installed. I can do a mock based test if folk want one.
|
||||
|
||||
Change-Id: If6160d1fb3def8133bdd0b66105e60ef93f80f82
|
||||
Closes-Bug: #1481468
|
||||
|
||||
diff --git a/pbr/git.py b/pbr/git.py
|
||||
index b4ae300..60acd3c 100644
|
||||
--- a/pbr/git.py
|
||||
+++ b/pbr/git.py
|
||||
@@ -18,6 +18,7 @@ from __future__ import unicode_literals
|
||||
|
||||
import distutils.errors
|
||||
from distutils import log
|
||||
+import errno
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
@@ -64,7 +65,13 @@ def _run_git_command(cmd, git_dir, **kwargs):
|
||||
|
||||
|
||||
def _get_git_directory():
|
||||
- return _run_shell_command(['git', 'rev-parse', '--git-dir'])
|
||||
+ try:
|
||||
+ return _run_shell_command(['git', 'rev-parse', '--git-dir'])
|
||||
+ except OSError as e:
|
||||
+ if e.errno == errno.ENOENT:
|
||||
+ # git not installed.
|
||||
+ return ''
|
||||
+ raise
|
||||
|
||||
|
||||
def _git_is_installed():
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
||||
@@ -14,8 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~amd64 ~hppa ~amd64-linux ~x86-linux"
|
||||
KEYWORDS=""
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
@@ -59,6 +58,8 @@ python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-${PV}_no-git.patch" )
|
||||
|
||||
python_test() {
|
||||
# Note; Tests, that have been removed, pass once package is emerged.
|
||||
esetup.py testr
|
||||
|
||||
@@ -2,4 +2,5 @@ DIST python-novaclient-2.17.0.tar.gz 230712 SHA256 af6f46890715eb5f4e0d25a714eff
|
||||
DIST python-novaclient-2.20.0.tar.gz 267956 SHA256 73fc8169d58e910340aae1ac5370c3b63a9943f748e2a20e4a1dfd7277525c86 SHA512 a1ff87b46d1520346380bf5396383d84e036892f1568d2eb201eb667837919e1cd8db3267a1ea9f6dfc616de0714374c81465de76b8a9bfec32c4742eeee3807 WHIRLPOOL 1fb3052d3fa457524c65b3de087a7cf7377d274b7a9d924529289e2e2b02992c5182cd1ec5aeef443a81c8e1d08fa1202caf6c5e12e3df40b5011f75df0837f8
|
||||
DIST python-novaclient-2.23.0.tar.gz 224690 SHA256 0f82e723b1cef48df75d4b47ece7dd6ee980563628d8cfbef10cd35707193e07 SHA512 38f7aa5747c9cea2e8e98ec91e18ada70c1cd61b0236285a6335cff2a90ff465963d648489fec8c4bb96e55e4c8f2c77ddbae58d42e43807e1d0d70f4bdfe9fe WHIRLPOOL 883b5e04ec39e525fea8c22969a72a8fc334c741b2419e3a4cab9f2f6563286dc6968615b7df7a17d2ab4e17de5d182163eb60682fd69bfa84312629d2ea731d
|
||||
DIST python-novaclient-2.23.1.tar.gz 225659 SHA256 8a8b0ace401099518ab852b294f89199a9358085b51ffa0e52dfd05c2332e09e SHA512 a3ac753a4cac5e769cef59e6ae8d182f0abfe03b9ff10fa8a34b1d395fd5a83e92e999af644d1248417700654a6e3b3cb3d9818044c4c258d06304d99738a978 WHIRLPOOL 99a38df0e76f8c18c7bea23154c9b4641fe1b9a2086493a0ee2807c151173be21b8f18b27a48231991cca10ffbc32f2fa26bf265d30baa8c310a654c7557c30d
|
||||
DIST python-novaclient-2.23.2.tar.gz 224170 SHA256 730cb006395b2df336bbfd75aa2f459375594726a50fe3b9126212ed487fcf98 SHA512 a207afcdb14e811980c6f3962342e3aa4da52f2e9663f94dbbac78b9d5e1e5a555d657b61948acf07cf238eaf04e32b9e440e9495adf80e19e8877e5e6510bcb WHIRLPOOL 8bd7c7f3431ec9dc78ed023e15227c5c5d40becbb9ef06d6fee65d177732af8d98154b27a39da722716ff9fffab7bc0c9790306d5ae184c4335361ac990666a4
|
||||
DIST python-novaclient-2.25.0.tar.gz 228156 SHA256 433e314223218031e7ea6e71baa54c1b13485d47fbb128ed3752e2a72ad7cb83 SHA512 b65495e94da9d42aa6eb51090ea7c2af6784e74121ea96c7021d013b8570af1df90d993df332b92274d5f92bc634149ad14616804e68e93fb4529b6b15dbb5c4 WHIRLPOOL 7401147c278a23768e18998b90842c6c17fe2c9dfb28cd320dfe0dc6ce7afd2e0481d6275deb82a4ce5c3ac826b8303390a8d80c011a242c4bed0fff2e446615
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Nova API"
|
||||
HOMEPAGE="https://github.com/openstack/python-novaclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
<dev-python/fixtures-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-lib-0.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/tempest-lib-0.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-i18n-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-serialization-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-1.4.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# built in...
|
||||
sed -i '/argparse/d' requirements.txt
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run --parallel || die "testsuite failed under python2.7"
|
||||
}
|
||||
+10
-10
@@ -1,10 +1,10 @@
|
||||
# These are added during tree generation only
|
||||
cache
|
||||
dtd
|
||||
glsa
|
||||
md5-cache
|
||||
news
|
||||
herds.xml
|
||||
timestamp
|
||||
timestamp.chk
|
||||
timestamp.x
|
||||
# These are added during tree generation only.
|
||||
/cache/
|
||||
/dtd/
|
||||
/glsa/
|
||||
/md5-cache/
|
||||
/news/
|
||||
/herds.xml
|
||||
/timestamp
|
||||
/timestamp.chk
|
||||
/timestamp.x
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
_eclasses_=toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 distutils-r1 fbebe7ad62dbe4583baab75733f8aa0 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 cafc0cf4ff05a561eb084acb586152e multibuild 4550e10791f720f7af3fdd911aedf518 multiprocessing d769539d9bace6eaca30af23bc2b4dde eutils 351a78113be5b393c09a2c948701ad36 python-utils-r1 c595450196ccd7d3fac66424be096ffc
|
||||
_md5_=f3210c857d27887069e4dc5cc0c84eb3
|
||||
SLOT=0
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
EAPI=5
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] test? ( >=dev-python/coverage-3.6[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/fixtures-1.3.1[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/mock-1.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/subunit-0.0.18[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/sphinx-1.1.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] !~dev-python/sphinx-1.2.0[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] <dev-python/sphinx-1.3[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/six-1.9.0[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/testrepository-0.0.18[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/testresources-0.2.4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/testscenarios-0.4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/testtools-1.4.0[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/virtualenv[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
DESCRIPTION=Inject some useful and sensible default behaviors into setuptools
|
||||
LICENSE=Apache-2.0
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
|
||||
SRC_URI=mirror://pypi/p/pbr/pbr-1.4.0.tar.gz
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/openstack-dev/pbr
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-python/pip[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/pbr/pbr-1.4.0.tar.gz
|
||||
_eclasses_=distutils-r1 0fbebe7ad62dbe4583baab75733f8aa0 eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=6c427e26d323f08e74c571a5d4e49b11
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/pbr-0.8[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/pbr-1.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] test? ( >=dev-python/hacking-0.10.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/hacking-0.11[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/coverage-3.6[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/fixtures-0.3.14[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/fixtures-1.3.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/keyring-2.1[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/keyring-3.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/mock-1.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/mock-1.1.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/requests-mock-0.6.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/sphinx-1.1.2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/sphinx-1.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/sphinx-1.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/oslo-sphinx-2.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/oslo-sphinx-2.6.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testrepository-0.0.18[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testscenarios-0.4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testtools-0.9.36[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/testtools-1.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/tempest-lib-0.4.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/tempest-lib-0.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=A client for the OpenStack Nova API
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/openstack/python-novaclient
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/iso8601-0.1.9[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/oslo-i18n-1.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/oslo-i18n-1.6.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/oslo-serialization-1.4.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/oslo-serialization-1.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/oslo-utils-1.4.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/oslo-utils-1.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/prettytable-0.7[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/prettytable-0.8[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/requests-2.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/requests-2.4.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/simplejson-2.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/six-1.9.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/Babel-1.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/python-keystoneclient-1.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/python-keystoneclient-1.4.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/python-novaclient/python-novaclient-2.23.2.tar.gz
|
||||
_eclasses_=distutils-r1 0fbebe7ad62dbe4583baab75733f8aa0 eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=70df889f0d32584450d5805207ef987d
|
||||
@@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare setup
|
||||
DEPEND=ssl? ( dev-libs/openssl:0= ) X? ( x11-libs/libX11 x11-libs/libXaw x11-libs/libXmu x11-libs/libXt ) ncurses? ( sys-libs/ncurses:= sys-libs/readline:0= ) tcl? ( dev-lang/tcl:0 ) X? ( x11-misc/xbitmaps x11-proto/xproto app-text/rman x11-apps/mkfontdir x11-apps/bdftopcf ) X? ( x11-apps/mkfontdir media-fonts/encodings )
|
||||
DESCRIPTION=Complete 3270 access package
|
||||
EAPI=5
|
||||
HOMEPAGE=http://x3270.bgp.nu/
|
||||
IUSE=cjk doc ncurses ssl tcl X X
|
||||
KEYWORDS=~amd64 ~ppc ~s390 ~sparc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=ssl? ( dev-libs/openssl:0= ) X? ( x11-libs/libX11 x11-libs/libXaw x11-libs/libXmu x11-libs/libXt ) ncurses? ( sys-libs/ncurses:= sys-libs/readline:0= ) tcl? ( dev-lang/tcl:0 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/x3270/suite3270-3.4ga6-src.tgz
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 font cd7790315ca5b8c505e1e0513df6acce multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=0f0188c3bc0bfaa009c95916cba41622
|
||||
@@ -1,20 +1,7 @@
|
||||
DIST suite3270-3.3.10ga3-src.tgz 6419282 SHA256 c94cd13e82f6f335461f1de7a816e627fa7e55f68852a5f513194067bccc4408 SHA512 c30af38bff1517a96250365bc6beec19f8ae4c8b6cae7b68c2279749796b370d1ecaf4a4dc3abc25780bd67bbdf9ef00bc9f8d6bb332c642e672ba24f623e6ab WHIRLPOOL e69cb4f7a7174050e35edecaf461385ccef13b7f396625e735ac7455aae6a7f90c7aee9c2a12fef6ec7cd163b2a84c7f33653d3b002a73dcda86cf14ee75f48d
|
||||
DIST suite3270-3.3.12ga10-src.tgz 6670311 SHA256 f93a51c19a6f13a97e895343f79ce867b53ca6e672b8fa5a491f2e2fed7294d6 SHA512 8c6e31dfcfb40ee81e1984648cff64d96f7cfadb45a221cb59b5e234ee1a5dd25b7d0ccccf04e11b740eb4237d8228f61186d1107b3d7bfa6405e7cc95b8d32f WHIRLPOOL 4958e0d07cf8ff5ef91862fe8fda0cb559a89e69be91914bd5c12c8afeea5b94ff6523faeeaa748a1bb86d6df19c70564ded116c4ec9cf6eceb07e9e418c6823
|
||||
DIST suite3270-3.3.12ga12-src.tgz 6695998 SHA256 2b7ca0614a7b0d97507753f933f4be04aa16a4bc255ad80b2c14a9dfebbcb8b8 SHA512 61b5bc1682af6844609356b25eec5b1c27a057a060e88e51787c8b8bc73123a01e344a02e9104c78b037e46d15d6f6824caa85a5902e51115aac468eb0b3b250 WHIRLPOOL 03582957daa9362594a589094edfc0e724ad3d6f2f9fa796865aad94697592b492a67d6ccfd4588ee19c8837413e44ac7bb7be0dacf19b621ea93659ff7845bf
|
||||
DIST suite3270-3.3.13ga7-src.tgz 6824013 SHA256 ab5cde5eb19dcb4ed7d10f47734fca1a6d9a889515772e5bfa9ba00f34f19645 SHA512 d1a8aebea57284bb161922ef1603b2c1d65838a1e0c271e34c467e48a40e855303a4440ba6519ce52c54a373d5d1ec5ba6cf8470c66454b8f931744aab6a0bcb WHIRLPOOL 31712644f771870903e12cb09064d58b757cc10c5111388eb86f7979852ddbfc6af181e243ccbf64abed405862fdd6b8ef5d09cbb612b86d4936cac24d81fb73
|
||||
DIST suite3270-3.3.14ga11-src.tgz 6902551 SHA256 80f0a21e0a298297e4156d1ba413f6a3fd60a6850e05733a8c7dbd30323d2b00 SHA512 1f4b735b1baa0c813809324989becd1b62807bf05033f0415a9cd7523af04728bc2511213a091e8c4377163a4c26635168633c12d331da3f0a683f736c041bca WHIRLPOOL 34cd41f5bda9609edaaaec88df2fe535fc16790d34905c65ea67a0df94e9532e268dcb5a62b97a344621919dae05fbfbaaf37f02ceaede3faf98f492f999d190
|
||||
DIST suite3270-3.3.14ga6-src.tgz 6884651 SHA256 1d13b16ad2363988c5340938ebb409c22eecf33cf7b7be7dc07ce408b55ce088 SHA512 2bb48d4eafee24b4042d02a099a263a6e2dff3974ededc031eabfbb4a0046650e6c034d7194766d3a88635f25c66e8a3bfe039b0ad928dbd0ad659b822d0c1ef WHIRLPOOL e32ac5603750769ef89eff00c85e37870120b68e5ce23ffe0f343a725f046906148de94c22b0ea262e8ba2d81833b6eb061dd07298164772b759d10c98e89324
|
||||
DIST suite3270-3.3.14ga7-src.tgz 6888964 SHA256 f0fc2ec78402e02c28cebe924dfa9ddc49a850c1dd1165ec55774f92785c9695 SHA512 1756cac734d01271c89a647f92c2fe4c180787e98da45b4aa18347b5a62af8d0dbba411fa406b53badff59e59f36d36c3ba95c43e83d99d421680d08f5b36639 WHIRLPOOL 2c45ec90c2f3757b86442fa4ee7f08180e01d4b57ffe08ffb88545037fa16b6416d1ba34f4a639129b436d16e4ad08df2720faf03e2a1d34c97787e17873c555
|
||||
DIST suite3270-3.3.14ga9-src.tgz 6901961 SHA256 e4924f11bce7544c5ae15f1261827fb35507723b80417efbc3211f9e7a05959c SHA512 607415d40746c287e4f38ac573a2be04028527395ab0dbe78d265e17fe0581b41337b75219d8ef60fe9fb1efd5effc4451c8e529b255d4151a85b194d1844f56 WHIRLPOOL f13acd1167f349d88bf388c6b189cf07e4abb06d6c99b194d9d6e036554bbb2031889ed518ed9f2449213bc5b15b42483fad461efec38d53ba826795c582267d
|
||||
DIST suite3270-3.3.15ga4-src.tgz 6957941 SHA256 96d9433910efc440bfc605eda549e252dff3ebad0112d0143871c604272bbefe SHA512 8eed672772b4fd3683ba8ce3039b9929f4ab7470fd085e86455478ee8e8830fa2d524a16c1d438796e096ddf4839ee190a9186700ad2cc8bfe86617eb41ad65f WHIRLPOOL 9230e65cef83c60ffdb048a132332509446607ad2eb2204278d92877957f9f266d0bfb675e4c5d180c3b60d759fac3b7615f81169b2ee0d21ce45a2114c722aa
|
||||
DIST suite3270-3.3.15ga7-src.tgz 6957724 SHA256 1d354fc23f62d9a65b08889bd4a51b05dcb81998fcdf0d403088c00aa9898ede SHA512 9d4fd69a55330b8ad6bab546e4352020a5df3644ac23f4b41de1e4161fca0ae4312c4fd50489d7acd6d637942b640dc22088aae30e589159bc69e04fd4902edc WHIRLPOOL c0c10c9f6da24937c518cc6d3c87e6800bf55f321220c40b34e40fc9c53b21f9808357476540d942674f014cea309a2d62b62072b70ae405a3f1e8aa06e4ebcc
|
||||
DIST suite3270-3.3.15ga9-src.tgz 6960911 SHA256 e22f40360170acf70b6de521173c633072582315b4879aef276fb8c97102e848 SHA512 dd6ad0b42f935a9a25170d3ef765e8d31746b7c6a7d9c6f31630da77cc4fd2bde9f4861c86fb237211dd17e60423c4e1627871c8a710467076b99166e7774ccb WHIRLPOOL 79b5691995dd98e6821130df3df8fed2af04abb7ebce642a12d82fa67045c3a1e491d32b8dd43b574b35e80cf0c734f8ab007ece18130e7c373175fa672a8e46
|
||||
DIST suite3270-3.3.5p8.tgz 3244414 SHA256 c33acfecab9b720d9fbc342d2c53c4c3ff999f67b6f2e387dd27b97f2c49eeed SHA512 60daec899106adfed604cb00fb3085ff700d3ee554f7a0cafe4dd524c19cfc0d186489d088ddfd41aa15c2366b8d9eadc77ef1e8549ed31c1b289d7c368f15b5 WHIRLPOOL 491475567d4a6ec3a4a46c4ba9eaf4b982b61571b5f2767481b5ebc2b8c22fbb436a9434913057f52ed27632622b92ce39e123ab7fe2996e236d77ac41ebd182
|
||||
DIST suite3270-3.3.6.tgz 3315214 SHA256 189f0f639186060b7bbb3093fce60bfb7f35fa147e051a24753236358f609b5e SHA512 0b59c231a5cb4447fb5d2263cf3be0812773450ab2bfb14923ffdc05e5554bcaa63f15d28bdd3fde3d4c0fe31efb284a4e4fd43b448b1adb8d1cf52e3c5b5957 WHIRLPOOL a4d95cc2b399dbfdb1a4b00c804f1bfc036bc8eb0ec463275a256caaef03348b33b60c4bd46eb3e8a7168e2bed1c2b9a9d488ddefc6c1267381de390041161ba
|
||||
DIST suite3270-3.3.7.tgz 3357492 SHA256 5b5c3b57cdc3a8e4c2fdd9fa59ef198a5a2ca73f4ad49a42869b709c47318444 SHA512 69779666b3f88c1c8291df56298ced3a64d3f12f7b7dc191f288fd62b4beaa387fc15f418526ab3d0091837de9bd9e3fd6412e1b6fa25347d5fcaea16be34e79 WHIRLPOOL 33a296e491b1907c0a61c39036d0af7a36440b9ae3e98f54020a737ed3ca4f8239f8a3cdb038caf8995e359a3c24f7626415d88df5586183548f839f4db5ac0a
|
||||
DIST suite3270-3.3.7p5.tgz 3357564 SHA256 ac1250eef285dbc9b511228d83e9b6c0db8c7ead3586ec82ff36a4ab8ca1067e SHA512 81262e086b6f6d2e87a8b91429df1366aad7a82551c1d0645a13dd8f57366fc2866d4306135d2e0defe1a6515786fca28f81ec950f6715429730dbe1f4b55bfe WHIRLPOOL 6dd8fa75dc225182ba6b9e2ed655979b9bda1b1f96ad17e9863e96607df270dbb460eaf63982102b31d345923a058ac0770dd18878aa9692647fbfc3cf18f293
|
||||
DIST suite3270-3.3.7p8.tgz 3362264 SHA256 44fc1b167188c9c5b592c266f7dda391628a72bfbab7b1815bf511f7569ffa4b SHA512 3e7307de562308572f682e4a281997471a758dd455a0fcc52a4ccb1df3d1e557d0ccd3294e0aefc84db3513b344ebdfce738164bce3ca4dd28db9d20b40bcf23 WHIRLPOOL add5bac8d14181baeebffcb9a211ae1f5db5c563cce7b3442341379c6e054e21b887b017ba70ac406c527e87df13e6c30784e1b8e0e084a06d9ea5586f2e3e94
|
||||
DIST suite3270-3.3.8.tgz 3958021 SHA256 e37fde24e4b9eec494b58be54b9c3e06d518d66201ece718fcd6259d051dfe93 SHA512 474c7db1ab577205203f98ece4d2118da082803a4b406a1df65127d7d2a0ad28f2fba8c4df49f62cf07e864fe46e5efdb829d8bd6d4272e608af5894037efbb7 WHIRLPOOL 2cb662f4b52c993c7f094d6061925bfa995a55f888c5ac529460bf39cc3de4a24ef2ee6eb702471584abc1e6941a4d6e8e22305d2ba44e30e3746b3d084008c2
|
||||
DIST suite3270-3.3.9ga12.tgz 6305237 SHA256 256b3e3e51cdde716173bc99cbc08958369bc3b993f0b1aafc50e20d8f17ad2c
|
||||
DIST suite3270-3.4ga4-src.tgz 3395525 SHA256 7b367beb68d3af02b9dc65543f7f38c988f221e585aa72610814a9e60d4dddec SHA512 b01f82aa6d46e7766d1197daaaed0bd68adfda4e3d835beda63e03c7a11e3c91fccb1f7bda31a7f146f54cf63503dae4ab690bffe4ac2ed253a6af409f47ee66 WHIRLPOOL 8c5b8015d95b716e7c6a19838e9b771beb369408521ec22e8b05ff67e343d84ed24fce0594274a8c51dad37ab3ea7cf665a0ce5a21f5900027d5326b70a66376
|
||||
DIST suite3270-3.4ga5-src.tgz 3398700 SHA256 01ef94341326e797c090be813bf096b240adfbca44334545ad3433f684a9dcba SHA512 b2b43a7b09d98dccbd6cb7782ff32c6d314084cde2d0b958c21798931faa6cb3979aed4b46db0cb571fed171505936049ecdd2980f2ad2f04f1e4908ea880fb3 WHIRLPOOL f69f86d7c847ec781cff522ea115a11fd14cfffb2cfd5717929db5f9b5a3c5fc259c4b211170cdbeef8ecb6c99c25f09515aac4d906a27c6a44240251f960184
|
||||
DIST suite3270-3.4ga6-src.tgz 3398002 SHA256 7c662d30f2fc1616eeb546410e49e1312f9fa4d8316a017317abe146f893a1fe SHA512 c1d06529b98b6c18b74f832f14fc1e4d0adf1becdeb5f117a00b9c4df6b35337d0cdcb20499004cd0c5c63568a24b15f1f8a6038a7ede8e4fa6c5484c51aa738 WHIRLPOOL 2d9f8d0541921d8352ec210e5cb4f3b8c0fe1522cf69e5402f2322109ae4983bfe90cd249d3c1c2c4972f77584d9106166468a43032cb93e6ae6ffcacba6cfb6
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
From: Jesse Farinacci <jieryn@gmail.com>
|
||||
Date: 11 May 2007
|
||||
Gentoo-bug: 177042
|
||||
|
||||
The configure scripts that build ICU need to include stdio.h.
|
||||
|
||||
diff -Naur pr3287-3.3/configure pr3287-3.3/configure
|
||||
--- pr3287-3.3/configure 2007-05-11 12:22:27.622502551 -0400
|
||||
+++ pr3287-3.3/configure 2007-05-11 12:24:16.842559358 -0400
|
||||
@@ -3134,6 +3134,7 @@
|
||||
then echo "$as_me:$LINENO: checking for ICU version strings" >&5
|
||||
echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
diff -Naur pr3287-3.3/configure.in pr3287-3.3/configure.in
|
||||
--- pr3287-3.3/configure.in 2007-05-11 12:22:27.622502551 -0400
|
||||
+++ pr3287-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400
|
||||
@@ -146,6 +146,7 @@
|
||||
if test "$enable_dbcs" != no
|
||||
then AC_MSG_CHECKING([for ICU version strings])
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
diff -Naur s3270-3.3/configure s3270-3.3/configure
|
||||
--- s3270-3.3/configure 2007-05-11 12:22:27.619169419 -0400
|
||||
+++ s3270-3.3/configure 2007-05-11 12:24:16.895889464 -0400
|
||||
@@ -3608,6 +3608,7 @@
|
||||
then echo "$as_me:$LINENO: checking for ICU version strings" >&5
|
||||
echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
diff -Naur s3270-3.3/configure.in s3270-3.3/configure.in
|
||||
--- s3270-3.3/configure.in 2007-05-11 12:22:27.619169419 -0400
|
||||
+++ s3270-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400
|
||||
@@ -120,6 +120,7 @@
|
||||
if test "$enable_dbcs" != no
|
||||
then AC_MSG_CHECKING([for ICU version strings])
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
diff -Naur tcl3270-3.3/configure tcl3270-3.3/configure
|
||||
--- tcl3270-3.3/configure 2007-05-11 12:22:27.609170024 -0400
|
||||
+++ tcl3270-3.3/configure 2007-05-11 12:24:16.902555727 -0400
|
||||
@@ -4234,6 +4234,7 @@
|
||||
then echo "$as_me:$LINENO: checking for ICU version strings" >&5
|
||||
echo $ECHO_N "checking for ICU version strings... $ECHO_C" >&6
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
diff -Naur tcl3270-3.3/configure.in tcl3270-3.3/configure.in
|
||||
--- tcl3270-3.3/configure.in 2007-05-11 12:22:27.605836893 -0400
|
||||
+++ tcl3270-3.3/configure.in 2007-05-11 12:24:00.080240453 -0400
|
||||
@@ -149,6 +149,7 @@
|
||||
if test "$enable_dbcs" != no
|
||||
then AC_MSG_CHECKING([for ICU version strings])
|
||||
cat >/tmp/icutst$$.c <<EOF
|
||||
+#include <stdio.h>
|
||||
#include "unicode/ucnv.h"
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
@@ -1,79 +0,0 @@
|
||||
From: Jesse Farinacci <jieryn@gmail.com>
|
||||
Date: 11 May 2007
|
||||
Gentoo-bug: 177042
|
||||
|
||||
Gentoo's makeconv does not have the -p PREFIX support, so do some mv work
|
||||
instead.
|
||||
|
||||
--- c3270-3.3/Makefile.in 2007-02-25 10:53:17.566179262 +0100
|
||||
+++ c3270-3.3/Makefile.in 2007-02-25 10:56:11.983434901 +0100
|
||||
@@ -67,13 +67,17 @@
|
||||
|
||||
@CNV@all:: $(ICU_CNV)
|
||||
@CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm
|
||||
+@CNV@ makeconv -d . ibm-837_P100-2000.ucm
|
||||
+@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv
|
||||
@CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-300_P110-1997.ucm
|
||||
+@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv
|
||||
@CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm
|
||||
+@CNV@ makeconv -d . ibm-1027_P100-1995.ucm
|
||||
+@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv
|
||||
@CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-1385_P100-1997.ucm
|
||||
+@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv
|
||||
|
||||
install:: c3270 x3270if
|
||||
[ -d $(DESTDIR)$(BINDIR) ] || \
|
||||
--- s3270-3.3/Makefile.in 2007-02-25 11:19:35.987347863 +0100
|
||||
+++ s3270-3.3/Makefile.in 2007-02-25 11:20:43.391134616 +0100
|
||||
@@ -64,13 +64,17 @@
|
||||
|
||||
@CNV@all:: $(ICU_CNV)
|
||||
@CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm
|
||||
+@CNV@ makeconv -d . ibm-837_P100-2000.ucm
|
||||
+@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv
|
||||
@CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-300_P110-1997.ucm
|
||||
+@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv
|
||||
@CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm
|
||||
+@CNV@ makeconv -d . ibm-1027_P100-1995.ucm
|
||||
+@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv
|
||||
@CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-1385_P100-1997.ucm
|
||||
+@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv
|
||||
|
||||
install:: s3270 x3270if
|
||||
[ -d $(DESTDIR)$(BINDIR) ] || \
|
||||
--- tcl3270-3.3/Makefile.in 2007-02-25 11:21:30.416799814 +0100
|
||||
+++ tcl3270-3.3/Makefile.in 2007-02-25 11:22:46.829756107 +0100
|
||||
@@ -63,13 +63,17 @@
|
||||
|
||||
@CNV@all:: $(ICU_CNV)
|
||||
@CNV@$(IDP)_ibm-837_P100-2000.cnv: ibm-837_P100-2000.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-837_P100-2000.ucm
|
||||
+@CNV@ makeconv -d . ibm-837_P100-2000.ucm
|
||||
+@CNV@ mv ibm-837_P100-2000.cnv $(IDP)_ibm-837_P100-2000.cnv
|
||||
@CNV@$(IDP)_ibm-300_P110-1997.cnv: ibm-300_P110-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-300_P110-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-300_P110-1997.ucm
|
||||
+@CNV@ mv ibm-300_P110-1997.cnv $(IDP)_ibm-300_P110-1997.cnv
|
||||
@CNV@$(IDP)_ibm-1027_P100-1995.cnv: ibm-1027_P100-1995.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1027_P100-1995.ucm
|
||||
+@CNV@ makeconv -d . ibm-1027_P100-1995.ucm
|
||||
+@CNV@ mv ibm-1027_P100-1995.cnv $(IDP)_ibm-1027_P100-1995.cnv
|
||||
@CNV@$(IDP)_ibm-1385_P100-1997.cnv: ibm-1385_P100-1997.ucm
|
||||
-@CNV@ makeconv -d . -p $(IDP) ibm-1385_P100-1997.ucm
|
||||
+@CNV@ makeconv -d . ibm-1385_P100-1997.ucm
|
||||
+@CNV@ mv ibm-1385_P100-1997.cnv $(IDP)_ibm-1385_P100-1997.cnv
|
||||
|
||||
install:: tcl3270
|
||||
[ -d $(DESTDIR)$(BINDIR) ] || \
|
||||
@@ -1,20 +0,0 @@
|
||||
# Patches were sent upstream to maintainer
|
||||
# as of 23 September 2009, by Jesse Farinacci <jieryn@gmail.com>
|
||||
|
||||
--- x3270-3.3/screen.c
|
||||
+++ x3270-3.3/screen.c
|
||||
@@ -2322,12 +2322,14 @@
|
||||
void
|
||||
screen_flip(void)
|
||||
{
|
||||
+#if defined(X3270_DBCS) /*[*/
|
||||
/* Flip mode is broken in the DBCS version. */
|
||||
if (!dbcs) {
|
||||
flipped = !flipped;
|
||||
|
||||
action_internal(PA_Expose_action, IA_REDRAW, CN, CN);
|
||||
}
|
||||
+#endif /*]*/
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270
|
||||
use ncurses && echo c3270
|
||||
use tcl && echo tcl3270
|
||||
use X && echo x3270
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
use X && ! use cjk && epatch "${FILESDIR}"/${P}-fix-x3270-dbcs.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
$(use_with X x) \
|
||||
$(use_with X fontdir "${FONTDIR}") \
|
||||
|| die
|
||||
emake || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man || die
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
chmod a-x "${D}"/usr/share/man/*/*
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
MY_PV="${PV/_p/ga}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# Patches were sent upstream to maintainer
|
||||
# as of 23 September 2009, by Jesse Farinacci <jieryn@gmail.com>
|
||||
use X && ! use cjk && epatch "${FILESDIR}/$P-fix-x3270-dbcs.patch"
|
||||
return 0
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270 \
|
||||
$(usex ncurses c3270 '') \
|
||||
$(usex tcl tcl3270 '') \
|
||||
$(usex X x3270 '')
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
emake -C "${S}/${p}-${SUB_PV}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
chmod a-x "${D}"/usr/share/man/*/*
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270 \
|
||||
$(usex ncurses c3270 '') \
|
||||
$(usex tcl tcl3270 '') \
|
||||
$(usex X x3270 '')
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Some subdirs (like c3270/x3270/s3270) install the same set of data files
|
||||
# (they have the same contents). Wrap that in a retry to avoid errors.
|
||||
cat <<-EOF > _install
|
||||
#!/bin/sh
|
||||
for n in {1..5}; do
|
||||
install "\$@" && exit
|
||||
echo "retrying ..."
|
||||
done
|
||||
EOF
|
||||
chmod a+rx _install
|
||||
sed -i \
|
||||
-e "s:@INSTALL@:${S}/_install:" \
|
||||
*/Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
--without-xmkmf
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
sed \
|
||||
-e "s:@SUBDIRS@:$(suite3270_makelist):" \
|
||||
-e "s:@VER@:${SUB_PV}:" \
|
||||
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
EXTRA_TARGETS='install.man' default
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
find "${ED}"/usr/share/man/ -type f -exec chmod a-x {} +
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270 \
|
||||
$(usex ncurses c3270 '') \
|
||||
$(usex tcl tcl3270 '') \
|
||||
$(usex X x3270 '')
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Some subdirs (like c3270/x3270/s3270) install the same set of data files
|
||||
# (they have the same contents). Wrap that in a retry to avoid errors.
|
||||
cat <<-EOF > _install
|
||||
#!/bin/sh
|
||||
for n in {1..5}; do
|
||||
install "\$@" && exit
|
||||
echo "retrying ..."
|
||||
done
|
||||
EOF
|
||||
chmod a+rx _install
|
||||
sed -i \
|
||||
-e "s:@INSTALL@:${S}/_install:" \
|
||||
*/Makefile.in
|
||||
|
||||
sed -i \
|
||||
-e 's:CPPFunction:rl_completion_func_t:' \
|
||||
c3270-*/c3270.c || die #503364
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
--without-xmkmf
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
sed \
|
||||
-e "s:@SUBDIRS@:$(suite3270_makelist):" \
|
||||
-e "s:@VER@:${SUB_PV}:" \
|
||||
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
EXTRA_TARGETS='install.man' default
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
find "${ED}"/usr/share/man/ -type f -perm /1 -exec chmod a-x {} +
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~s390 sparc x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270 \
|
||||
$(usex ncurses c3270 '') \
|
||||
$(usex tcl tcl3270 '') \
|
||||
$(usex X x3270 '')
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Some subdirs (like c3270/x3270/s3270) install the same set of data files
|
||||
# (they have the same contents). Wrap that in a retry to avoid errors.
|
||||
cat <<-EOF > _install
|
||||
#!/bin/sh
|
||||
for n in {1..5}; do
|
||||
install "\$@" && exit
|
||||
echo "retrying ..."
|
||||
done
|
||||
EOF
|
||||
chmod a+rx _install
|
||||
sed -i \
|
||||
-e "s:@INSTALL@:${S}/_install:" \
|
||||
*/Makefile.in
|
||||
|
||||
sed -i \
|
||||
-e 's:CPPFunction:rl_completion_func_t:' \
|
||||
c3270-*/c3270.c || die #503364
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
--without-xmkmf
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
sed \
|
||||
-e "s:@SUBDIRS@:$(suite3270_makelist):" \
|
||||
-e "s:@VER@:${SUB_PV}:" \
|
||||
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
EXTRA_TARGETS='install.man' default
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
find "${ED}"/usr/share/man/ -type f -perm /1 -exec chmod a-x {} +
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf
|
||||
)"
|
||||
|
||||
suite3270_makelist() {
|
||||
echo pr3287 s3270 \
|
||||
$(usex ncurses c3270 '') \
|
||||
$(usex tcl tcl3270 '') \
|
||||
$(usex X x3270 '')
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Some subdirs (like c3270/x3270/s3270) install the same set of data files
|
||||
# (they have the same contents). Wrap that in a retry to avoid errors.
|
||||
cat <<-EOF > _install
|
||||
#!/bin/sh
|
||||
for n in {1..5}; do
|
||||
install "\$@" && exit
|
||||
echo "retrying ..."
|
||||
done
|
||||
EOF
|
||||
chmod a+rx _install
|
||||
sed -i \
|
||||
-e "s:@INSTALL@:${S}/_install:" \
|
||||
*/Makefile.in
|
||||
|
||||
sed -i \
|
||||
-e 's:CPPFunction:rl_completion_func_t:' \
|
||||
c3270-*/c3270.c || die #503364
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
--without-xmkmf
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
sed \
|
||||
-e "s:@SUBDIRS@:$(suite3270_makelist):" \
|
||||
-e "s:@VER@:${SUB_PV}:" \
|
||||
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
EXTRA_TARGETS='install.man' default
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
find "${ED}"/usr/share/man/ -type f -perm /1 -exec chmod a-x {} +
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() { use X && font_pkg_postinst ; }
|
||||
pkg_postrm() { use X && font_pkg_postrm ; }
|
||||
@@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="mirror://gentoo/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
cjk? ( dev-libs/icu )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# Patches were sent upstream to maintainer
|
||||
# as of 11 May 2007, by Jesse Farinacci <jieryn@gmail.com>
|
||||
epatch "${FILESDIR}"/configure-3.3.5.patch
|
||||
use cjk && epatch "${FILESDIR}"/makeconv-3.3.5.patch
|
||||
return 0
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake -j1 DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="mirror://gentoo/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
cjk? ( dev-libs/icu )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake -j1 DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="mirror://gentoo/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
cjk? ( dev-libs/icu )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
cjk? ( dev-libs/icu )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
cjk? ( dev-libs/icu )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="http://x3270.bgp.nu/download/${PN}-${PV/_/}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
MY_PV="${PV/_p/ga}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
SRC_URI="mirror://sourceforge/x3270/${MY_P}.tgz"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc s390 sparc x86"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt )
|
||||
ncurses? ( sys-libs/ncurses
|
||||
sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-misc/xbitmaps
|
||||
x11-proto/xproto
|
||||
app-text/rman
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/bdftopcf )"
|
||||
|
||||
SUB_PV="3.3"
|
||||
MY_FONTDIR="/usr/share/fonts/x3270"
|
||||
|
||||
suite3270_makelist() {
|
||||
MY_PLIST="pr3287 s3270"
|
||||
use ncurses && MY_PLIST="${MY_PLIST} c3270"
|
||||
use tcl && MY_PLIST="${MY_PLIST} tcl3270"
|
||||
use X && MY_PLIST="${MY_PLIST} x3270"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--without-pr3287"
|
||||
myconf="${myconf} --cache-file=${S}/config.cache"
|
||||
myconf="${myconf} $(use_enable cjk dbcs)"
|
||||
myconf="${myconf} $(use_enable ssl)"
|
||||
myconf="${myconf} $(use_with X x)"
|
||||
myconf="${myconf} $(use_with X fontdir ${MY_FONTDIR})"
|
||||
|
||||
suite3270_makelist
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
econf ${myconf} || die "econf failed on ${p}"
|
||||
emake || die "emake faild on ${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
suite3270_makelist
|
||||
use X && dodir ${MY_FONTDIR}
|
||||
for p in ${MY_PLIST} ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
emake DESTDIR="${D}" install install.man \
|
||||
|| die "emake failed on ${p}"
|
||||
use doc && docinto ${p} && dohtml html/*
|
||||
done
|
||||
|
||||
use X && rm -f "${D}/${MY_FONTDIR}/fonts.dir"
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
einfo "Running mkfontdir on ${MY_FONTDIR}"
|
||||
mkfontdir ${MY_FONTDIR}
|
||||
fi
|
||||
}
|
||||
+34
-36
@@ -2,19 +2,19 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
EAPI="5"
|
||||
|
||||
MY_PV=${PV/_p/ga}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SUB_PV=${PV:0:3}
|
||||
|
||||
S=${WORKDIR}
|
||||
S=${WORKDIR}/${PN}-${SUB_PV}
|
||||
|
||||
# only the x3270 package installs fonts
|
||||
FONT_PN="x3270"
|
||||
FONT_S=${WORKDIR}/${FONT_PN}-${SUB_PV}
|
||||
FONT_S=${WORKDIR}/${FONT_PN}
|
||||
|
||||
inherit eutils font multiprocessing
|
||||
inherit eutils font
|
||||
|
||||
DESCRIPTION="Complete 3270 access package"
|
||||
HOMEPAGE="http://x3270.bgp.nu/"
|
||||
@@ -25,14 +25,17 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
|
||||
IUSE="cjk doc ncurses ssl tcl X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
RDEPEND="ssl? ( dev-libs/openssl:0= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:0=
|
||||
)
|
||||
tcl? ( dev-lang/tcl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
@@ -64,48 +67,43 @@ src_prepare() {
|
||||
sed -i \
|
||||
-e "s:@INSTALL@:${S}/_install:" \
|
||||
*/Makefile.in
|
||||
|
||||
# https://sourceforge.net/p/x3270/bugs/13/
|
||||
sed -i \
|
||||
-e '/pr3287.man/s:$(INSTALL):@INSTALL_DATA@:' \
|
||||
pr3287/Makefile.in || die
|
||||
|
||||
# https://sourceforge.net/p/x3270/bugs/12/
|
||||
if has_version '>=sys-libs/glibc-2.20' ; then
|
||||
sed -i \
|
||||
-e "s:-D_BSD_SOURCE:-D_DEFAULT_SOURCE:" \
|
||||
*/configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local p myconf
|
||||
# Run configures in parallel!
|
||||
multijob_init
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
if [[ ${p} == "x3270" ]] ; then
|
||||
myconf=(
|
||||
--without-xmkmf
|
||||
$(use_with X x)
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
)
|
||||
else
|
||||
myconf=()
|
||||
fi
|
||||
multijob_child_init econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
$(use_enable cjk dbcs) \
|
||||
$(use_enable ssl) \
|
||||
"${myconf[@]}"
|
||||
done
|
||||
sed \
|
||||
-e "s:@SUBDIRS@:$(suite3270_makelist):" \
|
||||
-e "s:@VER@:${SUB_PV}:" \
|
||||
"${FILESDIR}"/Makefile.in > "${S}"/Makefile || die
|
||||
multijob_finish
|
||||
econf \
|
||||
--cache-file="${S}"/config.cache \
|
||||
--enable-s3270 \
|
||||
--enable-pr3287 \
|
||||
$(use_enable ncurses c3270) \
|
||||
$(use_enable tcl tcl3270) \
|
||||
$(use_enable X x3270) \
|
||||
$(use_with X x) \
|
||||
$(use_with X fontdir "${FONTDIR}")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use X && dodir "${FONTDIR}"
|
||||
EXTRA_TARGETS='install.man' default
|
||||
emake DESTDIR="${D}" install{,.man}
|
||||
|
||||
local p
|
||||
for p in $(suite3270_makelist) ; do
|
||||
cd "${S}/${p}-${SUB_PV}"
|
||||
cd "${S}/${p}"
|
||||
docinto ${p}
|
||||
local d=$(echo README*)
|
||||
[[ -n ${d} ]] && dodoc ${d}
|
||||
dodoc README*
|
||||
use doc && dohtml html/*
|
||||
done
|
||||
find "${ED}"/usr/share/man/ -type f -exec chmod a-x {} +
|
||||
|
||||
use X && font_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user