parent
9e3428a9fb
commit
01566c038b
@ -0,0 +1,778 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 2011 Canonical Ltd.
|
||||
# Copyright (C) 2013 Hewlett-Packard Development Company, L.P.
|
||||
#
|
||||
# Authors: Scott Moser <smoser@canonical.com>
|
||||
# Juerg Haefliger <juerg.haefliger@hp.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# the fudge factor. if within this many bytes dont bother
|
||||
FUDGE=${GROWPART_FUDGE:-$((1024*1024))}
|
||||
TEMP_D=""
|
||||
RESTORE_FUNC=""
|
||||
RESTORE_HUMAN=""
|
||||
VERBOSITY=0
|
||||
DISK=""
|
||||
PART=""
|
||||
PT_UPDATE=false
|
||||
DRY_RUN=0
|
||||
|
||||
SFDISK_VERSION=""
|
||||
SFDISK_2_26="22600"
|
||||
MBR_BACKUP=""
|
||||
GPT_BACKUP=""
|
||||
_capture=""
|
||||
|
||||
error() {
|
||||
echo "$@" 1>&2
|
||||
}
|
||||
|
||||
fail() {
|
||||
[ $# -eq 0 ] || echo "FAILED:" "$@"
|
||||
exit 2
|
||||
}
|
||||
|
||||
nochange() {
|
||||
echo "NOCHANGE:" "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
changed() {
|
||||
echo "CHANGED:" "$@"
|
||||
exit 0
|
||||
}
|
||||
|
||||
change() {
|
||||
echo "CHANGE:" "$@"
|
||||
exit 0
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
if [ -n "${RESTORE_FUNC}" ]; then
|
||||
error "***** WARNING: Resize failed, attempting to revert ******"
|
||||
if ${RESTORE_FUNC} ; then
|
||||
error "***** Appears to have gone OK ****"
|
||||
else
|
||||
error "***** FAILED! ******"
|
||||
if [ -n "${RESTORE_HUMAN}" -a -f "${RESTORE_HUMAN}" ]; then
|
||||
error "**** original table looked like: ****"
|
||||
cat "${RESTORE_HUMAN}" 1>&2
|
||||
else
|
||||
error "We seem to have not saved the partition table!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
[ -z "${TEMP_D}" -o ! -d "${TEMP_D}" ] || rm -Rf "${TEMP_D}"
|
||||
}
|
||||
|
||||
debug() {
|
||||
local level=${1}
|
||||
shift
|
||||
[ "${level}" -gt "${VERBOSITY}" ] && return
|
||||
if [ "${DEBUG_LOG}" ]; then
|
||||
echo "$@" >>"${DEBUG_LOG}"
|
||||
else
|
||||
error "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
debugcat() {
|
||||
local level="$1"
|
||||
shift;
|
||||
[ "${level}" -gt "$VERBOSITY" ] && return
|
||||
if [ "${DEBUG_LOG}" ]; then
|
||||
cat "$@" >>"${DEBUG_LOG}"
|
||||
else
|
||||
cat "$@" 1>&2
|
||||
fi
|
||||
}
|
||||
|
||||
mktemp_d() {
|
||||
# just a mktemp -d that doens't need mktemp if its not there.
|
||||
_RET=$(mktemp -d "${TMPDIR:-/tmp}/${0##*/}.XXXXXX" 2>/dev/null) &&
|
||||
return
|
||||
_RET=$(umask 077 && t="${TMPDIR:-/tmp}/${0##*/}.$$" &&
|
||||
mkdir "${t}" && echo "${t}")
|
||||
return
|
||||
}
|
||||
|
||||
Usage() {
|
||||
cat <<EOF
|
||||
${0##*/} disk partition
|
||||
rewrite partition table so that partition takes up all the space it can
|
||||
options:
|
||||
-h | --help print Usage and exit
|
||||
--fudge F if part could be resized, but change would be
|
||||
less than 'F' bytes, do not resize (default: ${FUDGE})
|
||||
-N | --dry-run only report what would be done, show new 'sfdisk -d'
|
||||
-v | --verbose increase verbosity / debug
|
||||
-u | --update R update the the kernel partition table info after growing
|
||||
this requires kernel support and 'partx --update'
|
||||
R is one of:
|
||||
- 'auto' : [default] update partition if possible
|
||||
- 'force' : try despite sanity checks (fail on failure)
|
||||
- 'off' : do not attempt
|
||||
- 'on' : fail if sanity checks indicate no support
|
||||
|
||||
Example:
|
||||
- ${0##*/} /dev/sda 1
|
||||
Resize partition 1 on /dev/sda
|
||||
EOF
|
||||
}
|
||||
|
||||
bad_Usage() {
|
||||
Usage 1>&2
|
||||
error "$@"
|
||||
exit 2
|
||||
}
|
||||
|
||||
sfdisk_restore_legacy() {
|
||||
sfdisk --no-reread "${DISK}" -I "${MBR_BACKUP}"
|
||||
}
|
||||
|
||||
sfdisk_restore() {
|
||||
# files are named: sfdisk-<device>-<offset>.bak
|
||||
local f="" offset="" fails=0
|
||||
for f in "${MBR_BACKUP}"*.bak; do
|
||||
[ -f "$f" ] || continue
|
||||
offset=${f##*-}
|
||||
offset=${offset%.bak}
|
||||
[ "$offset" = "$f" ] && {
|
||||
error "WARN: confused by file $f";
|
||||
continue;
|
||||
}
|
||||
dd "if=$f" "of=${DISK}" seek=$(($offset)) bs=1 conv=notrunc ||
|
||||
{ error "WARN: failed restore from $f"; fails=$(($fails+1)); }
|
||||
done
|
||||
return $fails
|
||||
}
|
||||
|
||||
sfdisk_worked_but_blkrrpart_failed() {
|
||||
local ret="$1" output="$2"
|
||||
# exit code found was just 1, but dont insist on that
|
||||
#[ $ret -eq 1 ] || return 1
|
||||
# Successfully wrote the new partition table
|
||||
grep -qi "Success.* wrote.* new.* partition" "$output" &&
|
||||
grep -qi "BLKRRPART: Device or resource busy" "$output"
|
||||
return
|
||||
}
|
||||
|
||||
get_sfdisk_version() {
|
||||
# set SFDISK_VERSION to MAJOR*10000+MINOR*100+MICRO
|
||||
local out oifs="$IFS" ver=""
|
||||
[ -n "$SFDISK_VERSION" ] && return 0
|
||||
# expected output: sfdisk from util-linux 2.25.2
|
||||
out=$(sfdisk --version) ||
|
||||
{ error "failed to get sfdisk version"; return 1; }
|
||||
set -- $out
|
||||
ver=$4
|
||||
case "$ver" in
|
||||
[0-9]*.[0-9]*.[0-9]|[0-9].[0-9]*)
|
||||
IFS="."; set -- $ver; IFS="$oifs"
|
||||
SFDISK_VERSION=$(($1*10000+$2*100+${3:-0}))
|
||||
return 0;;
|
||||
*) error "unexpected output in sfdisk --version [$out]"
|
||||
return 1;;
|
||||
esac
|
||||
}
|
||||
|
||||
resize_sfdisk() {
|
||||
local humanpt="${TEMP_D}/recovery"
|
||||
local mbr_backup="${TEMP_D}/orig.save"
|
||||
local restore_func=""
|
||||
local format="$1"
|
||||
|
||||
local change_out=${TEMP_D}/change.out
|
||||
local dump_out=${TEMP_D}/dump.out
|
||||
local new_out=${TEMP_D}/new.out
|
||||
local dump_mod=${TEMP_D}/dump.mod
|
||||
local tmp="${TEMP_D}/tmp.out"
|
||||
local err="${TEMP_D}/err.out"
|
||||
local mbr_max_512="4294967296"
|
||||
|
||||
local pt_start pt_size pt_end max_end new_size change_info dpart
|
||||
local sector_num sector_size disk_size tot out
|
||||
|
||||
rqe sfd_list sfdisk --list --unit=S "$DISK" >"$tmp" ||
|
||||
fail "failed: sfdisk --list $DISK"
|
||||
if [ "${SFDISK_VERSION}" -lt ${SFDISK_2_26} ]; then
|
||||
# exected output contains: Units: sectors of 512 bytes, ...
|
||||
out=$(awk '$1 == "Units:" && $5 ~ /bytes/ { print $4 }' "$tmp") ||
|
||||
fail "failed to read sfdisk output"
|
||||
if [ -z "$out" ]; then
|
||||
error "WARN: sector size not found in sfdisk output, assuming 512"
|
||||
sector_size=512
|
||||
else
|
||||
sector_size="$out"
|
||||
fi
|
||||
local _w _cyl _w1 _heads _w2 sectors _w3 t s
|
||||
# show-size is in units of 1024 bytes (same as /proc/partitions)
|
||||
t=$(sfdisk --show-size "${DISK}") ||
|
||||
fail "failed: sfdisk --show-size $DISK"
|
||||
disk_size=$((t*1024))
|
||||
sector_num=$(($disk_size/$sector_size))
|
||||
msg="disk size '$disk_size' not evenly div by sector size '$sector_size'"
|
||||
[ "$((${disk_size}%${sector_size}))" -eq 0 ] ||
|
||||
error "WARN: $msg"
|
||||
restore_func=sfdisk_restore_legacy
|
||||
else
|
||||
# --list first line output:
|
||||
# Disk /dev/vda: 20 GiB, 21474836480 bytes, 41943040 sectors
|
||||
local _x
|
||||
read _x _x _x _x disk_size _x sector_num _x < "$tmp"
|
||||
sector_size=$((disk_size/$sector_num))
|
||||
restore_func=sfdisk_restore
|
||||
fi
|
||||
|
||||
debug 1 "$sector_num sectors of $sector_size. total size=${disk_size} bytes"
|
||||
[ $(($disk_size/512)) -gt $mbr_max_512 ] &&
|
||||
debug 1 "WARN: disk is larger than 2TB. additional space will go unused."
|
||||
|
||||
rqe sfd_dump sfdisk --unit=S --dump "${DISK}" >"${dump_out}" ||
|
||||
fail "failed to dump sfdisk info for ${DISK}"
|
||||
RESTORE_HUMAN="$dump_out"
|
||||
|
||||
{
|
||||
echo "## sfdisk --unit=S --dump ${DISK}"
|
||||
cat "${dump_out}"
|
||||
} >"$humanpt"
|
||||
|
||||
[ $? -eq 0 ] || fail "failed to save sfdisk -d output"
|
||||
RESTORE_HUMAN="$humanpt"
|
||||
|
||||
debugcat 1 "$humanpt"
|
||||
|
||||
sed -e 's/,//g; s/start=/start /; s/size=/size /' "${dump_out}" \
|
||||
>"${dump_mod}" ||
|
||||
fail "sed failed on dump output"
|
||||
|
||||
dpart="${DISK}${PART}" # disk and partition number
|
||||
if [ -b "${DISK}p${PART}" -a "${DISK%[0-9]}" != "${DISK}" ]; then
|
||||
# for block devices that end in a number (/dev/nbd0)
|
||||
# the partition is "<name>p<partition_number>" (/dev/nbd0p1)
|
||||
dpart="${DISK}p${PART}"
|
||||
elif [ "${DISK#/dev/loop[0-9]}" != "${DISK}" ]; then
|
||||
# for /dev/loop devices, sfdisk output will be <name>p<number>
|
||||
# format also, even though there is not a device there.
|
||||
dpart="${DISK}p${PART}"
|
||||
fi
|
||||
|
||||
pt_start=$(awk '$1 == pt { print $4 }' "pt=${dpart}" <"${dump_mod}") &&
|
||||
pt_size=$(awk '$1 == pt { print $6 }' "pt=${dpart}" <"${dump_mod}") &&
|
||||
[ -n "${pt_start}" -a -n "${pt_size}" ] &&
|
||||
pt_end=$((${pt_size}+${pt_start})) ||
|
||||
fail "failed to get start and end for ${dpart} in ${DISK}"
|
||||
|
||||
# find the minimal starting location that is >= pt_end
|
||||
max_end=$(awk '$3 == "start" { if($4 >= pt_end && $4 < min)
|
||||
{ min = $4 } } END { printf("%s\n",min); }' \
|
||||
min=${sector_num} pt_end=${pt_end} "${dump_mod}") &&
|
||||
[ -n "${max_end}" ] ||
|
||||
fail "failed to get max_end for partition ${PART}"
|
||||
|
||||
mbr_max_sectors=$((mbr_max_512*$((sector_size/512))))
|
||||
if [ "$max_end" -gt "$mbr_max_sectors" ]; then
|
||||
max_end=$mbr_max_sectors
|
||||
fi
|
||||
|
||||
if [ "$format" = "gpt" ]; then
|
||||
# sfdisk respects 'last-lba' in input, and complains about
|
||||
# partitions that go past that. without it, it does the right thing.
|
||||
sed -i '/^last-lba:/d' "$dump_out" ||
|
||||
fail "failed to remove last-lba from output"
|
||||
fi
|
||||
|
||||
local gpt_second_size="33"
|
||||
if [ "${max_end}" -gt "$((${sector_num}-${gpt_second_size}))" ]; then
|
||||
# if mbr allow subsequent conversion to gpt without shrinking the
|
||||
# partition. safety net at cost of 33 sectors, seems reasonable.
|
||||
# if gpt, we can't write there anyway.
|
||||
debug 1 "padding ${gpt_second_size} sectors for gpt secondary header"
|
||||
max_end=$((${sector_num}-${gpt_second_size}))
|
||||
fi
|
||||
|
||||
debug 1 "max_end=${max_end} tot=${sector_num} pt_end=${pt_end}" \
|
||||
"pt_start=${pt_start} pt_size=${pt_size}"
|
||||
[ $((${pt_end})) -eq ${max_end} ] &&
|
||||
nochange "partition ${PART} is size ${pt_size}. it cannot be grown"
|
||||
[ $((${pt_end}+(${FUDGE}/$sector_size))) -gt ${max_end} ] &&
|
||||
nochange "partition ${PART} could only be grown by" \
|
||||
"$((${max_end}-${pt_end})) [fudge=$((${FUDGE}/$sector_size))]"
|
||||
|
||||
# now, change the size for this partition in ${dump_out} to be the
|
||||
# new size
|
||||
new_size=$((${max_end}-${pt_start}))
|
||||
sed "\|^\s*${dpart} |s/${pt_size},/${new_size},/" "${dump_out}" \
|
||||
>"${new_out}" ||
|
||||
fail "failed to change size in output"
|
||||
|
||||
change_info="partition=${PART} start=${pt_start} old: size=${pt_size} end=${pt_end} new: size=${new_size},end=${max_end}"
|
||||
if [ ${DRY_RUN} -ne 0 ]; then
|
||||
echo "CHANGE: ${change_info}"
|
||||
{
|
||||
echo "# === old sfdisk -d ==="
|
||||
cat "${dump_out}"
|
||||
echo "# === new sfdisk -d ==="
|
||||
cat "${new_out}"
|
||||
} 1>&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
MBR_BACKUP="${mbr_backup}"
|
||||
LANG=C sfdisk --no-reread "${DISK}" --force \
|
||||
-O "${mbr_backup}" <"${new_out}" >"${change_out}" 2>&1
|
||||
ret=$?
|
||||
[ $ret -eq 0 ] || RESTORE_FUNC="${restore_func}"
|
||||
|
||||
if [ $ret -eq 0 ]; then
|
||||
:
|
||||
elif $PT_UPDATE &&
|
||||
sfdisk_worked_but_blkrrpart_failed "$ret" "${change_out}"; then
|
||||
# if the command failed, but it looks like only because
|
||||
# the device was busy and we have pt_update, then go on
|
||||
debug 1 "sfdisk failed, but likely only because of blkrrpart"
|
||||
else
|
||||
error "attempt to resize ${DISK} failed. sfdisk output below:"
|
||||
sed 's,^,| ,' "${change_out}" 1>&2
|
||||
fail "failed to resize"
|
||||
fi
|
||||
|
||||
rq pt_update pt_update "$DISK" "$PART" ||
|
||||
fail "pt_resize failed"
|
||||
|
||||
RESTORE_FUNC=""
|
||||
|
||||
changed "${change_info}"
|
||||
|
||||
# dump_out looks something like:
|
||||
## partition table of /tmp/out.img
|
||||
#unit: sectors
|
||||
#
|
||||
#/tmp/out.img1 : start= 1, size= 48194, Id=83
|
||||
#/tmp/out.img2 : start= 48195, size= 963900, Id=83
|
||||
#/tmp/out.img3 : start= 1012095, size= 305235, Id=82
|
||||
#/tmp/out.img4 : start= 1317330, size= 771120, Id= 5
|
||||
#/tmp/out.img5 : start= 1317331, size= 642599, Id=83
|
||||
#/tmp/out.img6 : start= 1959931, size= 48194, Id=83
|
||||
#/tmp/out.img7 : start= 2008126, size= 80324, Id=83
|
||||
}
|
||||
|
||||
gpt_restore() {
|
||||
sgdisk -l "${GPT_BACKUP}" "${DISK}"
|
||||
}
|
||||
|
||||
resize_sgdisk() {
|
||||
GPT_BACKUP="${TEMP_D}/pt.backup"
|
||||
|
||||
local pt_info="${TEMP_D}/pt.info"
|
||||
local pt_pretend="${TEMP_D}/pt.pretend"
|
||||
local pt_data="${TEMP_D}/pt.data"
|
||||
local out="${TEMP_D}/out"
|
||||
|
||||
local dev="disk=${DISK} partition=${PART}"
|
||||
|
||||
local pt_start pt_end pt_size last pt_max code guid name new_size
|
||||
local old new change_info sector_size
|
||||
|
||||
# Dump the original partition information and details to disk. This is
|
||||
# used in case something goes wrong and human interaction is required
|
||||
# to revert any changes.
|
||||
rqe sgd_info sgdisk "--info=${PART}" --print "${DISK}" >"${pt_info}" ||
|
||||
fail "${dev}: failed to dump original sgdisk info"
|
||||
RESTORE_HUMAN="${pt_info}"
|
||||
|
||||
sector_size=$(awk '$0 ~ /^Logical sector size:.*bytes/ { print $4 }' \
|
||||
"$pt_info") && [ -n "$sector_size" ] || {
|
||||
sector_size=512
|
||||
error "WARN: did not find sector size, assuming 512"
|
||||
}
|
||||
|
||||
debug 1 "$dev: original sgdisk info:"
|
||||
debugcat 1 "${pt_info}"
|
||||
|
||||
# Pretend to move the backup GPT header to the end of the disk and dump
|
||||
# the resulting partition information. We use this info to determine if
|
||||
# we have to resize the partition.
|
||||
rqe sgd_pretend sgdisk --pretend --move-second-header \
|
||||
--print "${DISK}" >"${pt_pretend}" ||
|
||||
fail "${dev}: failed to dump pretend sgdisk info"
|
||||
|
||||
debug 1 "$dev: pretend sgdisk info"
|
||||
debugcat 1 "${pt_pretend}"
|
||||
|
||||
# Extract the partition data from the pretend dump
|
||||
awk 'found { print } ; $1 == "Number" { found = 1 }' \
|
||||
"${pt_pretend}" >"${pt_data}" ||
|
||||
fail "${dev}: failed to parse pretend sgdisk info"
|
||||
|
||||
# Get the start and end sectors of the partition to be grown
|
||||
pt_start=$(awk '$1 == '"${PART}"' { print $2 }' "${pt_data}") &&
|
||||
[ -n "${pt_start}" ] ||
|
||||
fail "${dev}: failed to get start sector"
|
||||
pt_end=$(awk '$1 == '"${PART}"' { print $3 }' "${pt_data}") &&
|
||||
[ -n "${pt_end}" ] ||
|
||||
fail "${dev}: failed to get end sector"
|
||||
pt_size="$((${pt_end} - ${pt_start}))"
|
||||
|
||||
# Get the last usable sector
|
||||
last=$(awk '/last usable sector is/ { print $NF }' \
|
||||
"${pt_pretend}") && [ -n "${last}" ] ||
|
||||
fail "${dev}: failed to get last usable sector"
|
||||
|
||||
# Find the minimal start sector that is >= pt_end
|
||||
pt_max=$(awk '{ if ($2 >= pt_end && $2 < min) { min = $2 } } END \
|
||||
{ print min }' min="${last}" pt_end="${pt_end}" \
|
||||
"${pt_data}") && [ -n "${pt_max}" ] ||
|
||||
fail "${dev}: failed to find max end sector"
|
||||
|
||||
debug 1 "${dev}: pt_start=${pt_start} pt_end=${pt_end}" \
|
||||
"pt_size=${pt_size} pt_max=${pt_max} last=${last}"
|
||||
|
||||
# Check if the partition can be grown
|
||||
[ "${pt_end}" -eq "${pt_max}" ] &&
|
||||
nochange "${dev}: size=${pt_size}, it cannot be grown"
|
||||
[ "$((${pt_end} + ${FUDGE}/${sector_size}))" -gt "${pt_max}" ] &&
|
||||
nochange "${dev}: could only be grown by" \
|
||||
"$((${pt_max} - ${pt_end})) [fudge=$((${FUDGE}/$sector_size))]"
|
||||
|
||||
# The partition can be grown if we made it here. Get some more info
|
||||
# about it so we can do it properly.
|
||||
# FIXME: Do we care about the attribute flags?
|
||||
code=$(awk '/^Partition GUID code:/ { print $4 }' "${pt_info}")
|
||||
guid=$(awk '/^Partition unique GUID:/ { print $4 }' "${pt_info}")
|
||||
name=$(awk '/^Partition name:/ { gsub(/'"'"'/, "") ; \
|
||||
if (NF >= 3) print substr($0, index($0, $3)) }' "${pt_info}")
|
||||
[ -n "${code}" -a -n "${guid}" ] ||
|
||||
fail "${dev}: failed to parse sgdisk details"
|
||||
|
||||
debug 1 "${dev}: code=${code} guid=${guid} name='${name}'"
|
||||
local wouldrun=""
|
||||
[ "$DRY_RUN" -ne 0 ] && wouldrun="would-run"
|
||||
|
||||
# Calculate the new size of the partition
|
||||
new_size=$((${pt_max} - ${pt_start}))
|
||||
old="old: size=${pt_size},end=${pt_end}"
|
||||
new="new: size=${new_size},end=${pt_max}"
|
||||
change_info="${dev}: start=${pt_start} ${old} ${new}"
|
||||
|
||||
# Backup the current partition table, we're about to modify it
|
||||
rq sgd_backup $wouldrun sgdisk "--backup=${GPT_BACKUP}" "${DISK}" ||
|
||||
fail "${dev}: failed to backup the partition table"
|
||||
|
||||
# Modify the partition table. We do it all in one go (the order is
|
||||
# important!):
|
||||
# - move the GPT backup header to the end of the disk
|
||||
# - delete the partition
|
||||
# - recreate the partition with the new size
|
||||
# - set the partition code
|
||||
# - set the partition GUID
|
||||
# - set the partition name
|
||||
rq sgdisk_mod $wouldrun sgdisk --move-second-header "--delete=${PART}" \
|
||||
"--new=${PART}:${pt_start}:${pt_max}" \
|
||||
"--typecode=${PART}:${code}" \
|
||||
"--partition-guid=${PART}:${guid}" \
|
||||
"--change-name=${PART}:${name}" "${DISK}" &&
|
||||
rq pt_update $wouldrun pt_update "$DISK" "$PART" || {
|
||||
RESTORE_FUNC=gpt_restore
|
||||
fail "${dev}: failed to repartition"
|
||||
}
|
||||
|
||||
# Dry run
|
||||
[ "${DRY_RUN}" -ne 0 ] && change "${change_info}"
|
||||
|
||||
changed "${change_info}"
|
||||
}
|
||||
|
||||
kver_to_num() {
|
||||
local kver="$1" maj="" min="" mic="0"
|
||||
kver=${kver%%-*}
|
||||
maj=${kver%%.*}
|
||||
min=${kver#${maj}.}
|
||||
min=${min%%.*}
|
||||
mic=${kver#${maj}.${min}.}
|
||||
[ "$kver" = "$mic" ] && mic=0
|
||||
_RET=$(($maj*1000*1000+$min*1000+$mic))
|
||||
}
|
||||
|
||||
kver_cmp() {
|
||||
local op="$2" n1="" n2=""
|
||||
kver_to_num "$1"
|
||||
n1="$_RET"
|
||||
kver_to_num "$3"
|
||||
n2="$_RET"
|
||||
[ $n1 $op $n2 ]
|
||||
}
|
||||
|
||||
rq() {
|
||||
# runquieterror(label, command)
|
||||
# gobble stderr of a command unless it errors
|
||||
local label="$1" ret="" efile=""
|
||||
efile="$TEMP_D/$label.err"
|
||||
shift;
|
||||
|
||||
local rlabel="running"
|
||||
[ "$1" = "would-run" ] && rlabel="would-run" && shift
|
||||
|
||||
local cmd="" x=""
|
||||
for x in "$@"; do
|
||||
[ "${x#* }" != "$x" -o "${x#* \"}" != "$x" ] && x="'$x'"
|
||||
cmd="$cmd $x"
|
||||
done
|
||||
cmd=${cmd# }
|
||||
|
||||
debug 2 "$rlabel[$label][$_capture]" "$cmd"
|
||||
[ "$rlabel" = "would-run" ] && return 0
|
||||
|
||||
if [ "${_capture}" = "erronly" ]; then
|
||||
"$@" 2>"$TEMP_D/$label.err"
|
||||
ret=$?
|
||||
else
|
||||
"$@" >"$TEMP_D/$label.err" 2>&1
|
||||
ret=$?
|
||||
fi
|
||||
if [ $ret -ne 0 ]; then
|
||||
error "failed [$label:$ret]" "$@"
|
||||
cat "$efile" 1>&2
|
||||
fi
|
||||
return $ret
|
||||
}
|
||||
|
||||
rqe() {
|
||||
local _capture="erronly"
|
||||
rq "$@"
|
||||
}
|
||||
|
||||
verify_ptupdate() {
|
||||
local input="$1" found="" reason="" kver=""
|
||||
|
||||
# we can always satisfy 'off'
|
||||
if [ "$input" = "off" ]; then
|
||||
_RET="false";
|
||||
return 0;
|
||||
fi
|
||||
|
||||
if command -v partx >/dev/null 2>&1; then
|
||||
local out="" ret=0
|
||||
out=$(partx --help 2>&1)
|
||||
ret=$?
|
||||
if [ $ret -eq 0 ]; then
|
||||
echo "$out" | grep -q -- --update || {
|
||||
reason="partx has no '--update' flag in usage."
|
||||
found="off"
|
||||
}
|
||||
else
|
||||
reason="'partx --help' returned $ret. assuming it is old."
|
||||
found="off"
|
||||
fi
|
||||
else
|
||||
reason="no 'partx' command"
|
||||
found="off"
|
||||
fi
|
||||
|
||||
if [ -z "$found" ]; then
|
||||
if [ "$(uname)" != "Linux" ]; then
|
||||
reason="Kernel is not Linux per uname."
|
||||
found="off"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$found" ]; then
|
||||
kver=$(uname -r) || debug 1 "uname -r failed!"
|
||||
|
||||
if ! kver_cmp "${kver-0.0.0}" -ge 3.8.0; then
|
||||
reason="Kernel '$kver' < 3.8.0."
|
||||
found="off"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$found" ]; then
|
||||
_RET="true"
|
||||
return 0
|
||||
fi
|
||||
|
||||
case "$input" in
|
||||
on) error "$reason"; return 1;;
|
||||
auto)
|
||||
_RET="false";
|
||||
debug 1 "partition update disabled: $reason"
|
||||
return 0;;
|
||||
force)
|
||||
_RET="true"
|
||||
error "WARNING: ptupdate forced on even though: $reason"
|
||||
return 0;;
|
||||
esac
|
||||
error "unknown input '$input'";
|
||||
return 1;
|
||||
}
|
||||
|
||||
pt_update() {
|
||||
local dev="$1" part="$2" update="${3:-$PT_UPDATE}"
|
||||
if ! $update; then
|
||||
return 0
|
||||
fi
|
||||
# partx only works on block devices (do not run on file)
|
||||
[ -b "$dev" ] || return 0
|
||||
partx --update "$part" "$dev"
|
||||
}
|
||||
|
||||
has_cmd() {
|
||||
command -v "${1}" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
resize_sgdisk_gpt() {
|
||||
resize_sgdisk gpt
|
||||
}
|
||||
|
||||
resize_sgdisk_dos() {
|
||||
fail "unable to resize dos label with sgdisk"
|
||||
}
|
||||
|
||||
resize_sfdisk_gpt() {
|
||||
resize_sfdisk gpt
|
||||
}
|
||||
|
||||
resize_sfdisk_dos() {
|
||||
resize_sfdisk dos
|
||||
}
|
||||
|
||||
get_table_format() {
|
||||
local out="" disk="$1"
|
||||
if has_cmd blkid && out=$(blkid -o value -s PTTYPE "$disk") &&
|
||||
[ "$out" = "dos" -o "$out" = "gpt" ]; then
|
||||
_RET="$out"
|
||||
return
|
||||
fi
|
||||
_RET="dos"
|
||||
if [ ${SFDISK_VERSION} -lt ${SFDISK_2_26} ] &&
|
||||
out=$(sfdisk --id --force "$disk" 1 2>/dev/null); then
|
||||
if [ "$out" = "ee" ]; then
|
||||
_RET="gpt"
|
||||
else
|
||||
_RET="dos"
|
||||
fi
|
||||
return
|
||||
elif out=$(LANG=C sfdisk --list "$disk"); then
|
||||
out=$(echo "$out" | sed -e '/Disklabel type/!d' -e 's/.*: //')
|
||||
case "$out" in
|
||||
gpt|dos) _RET="$out";;
|
||||
*) error "WARN: unknown label $out";;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
get_resizer() {
|
||||
local format="$1" user=${2:-"auto"}
|
||||
|
||||
case "$user" in
|
||||
sgdisk) _RET="resize_sgdisk_$format"; return;;
|
||||
sfdisk) _RET="resize_sfdisk_$format"; return;;
|
||||
auto) :;;
|
||||
*) error "unexpected input: '$user'";;
|
||||
esac
|
||||
|
||||
if [ "$format" = "dos" ]; then
|
||||
_RET="resize_sfdisk_dos"
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "${SFDISK_VERSION}" -ge ${SFDISK_2_26} ]; then
|
||||
_RET="resize_sfdisk_gpt"
|
||||
elif has_cmd sgdisk; then
|
||||
_RET="resize_sgdisk_$format"
|
||||
else
|
||||
error "no tools available to resize disk with '$format'"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
pt_update="auto"
|
||||
resizer=${GROWPART_RESIZER:-"auto"}
|
||||
while [ $# -ne 0 ]; do
|
||||
cur=${1}
|
||||
next=${2}
|
||||
case "$cur" in
|
||||
-h|--help)
|
||||
Usage
|
||||
exit 0
|
||||
;;
|
||||
--fudge)
|
||||
FUDGE=${next}
|
||||
shift
|
||||
;;
|
||||
-N|--dry-run)
|
||||
DRY_RUN=1
|
||||
;;
|
||||
-u|--update|--update=*)
|
||||
if [ "${cur#--update=}" != "$cur" ]; then
|
||||
next="${cur#--update=}"
|
||||
else
|
||||
shift
|
||||
fi
|
||||
case "$next" in
|
||||
off|auto|force|on) pt_update=$next;;
|
||||
*) fail "unknown --update option: $next";;
|
||||
esac
|
||||
;;
|
||||
-v|--verbose)
|
||||
VERBOSITY=$(($VERBOSITY+1))
|
||||
;;
|
||||
--)
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*)
|
||||
fail "unknown option ${cur}"
|
||||
;;
|
||||
*)
|
||||
if [ -z "${DISK}" ]; then
|
||||
DISK=${cur}
|
||||
else
|
||||
[ -z "${PART}" ] || fail "confused by arg ${cur}"
|
||||
PART=${cur}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
[ -n "${DISK}" ] || bad_Usage "must supply disk and partition-number"
|
||||
[ -n "${PART}" ] || bad_Usage "must supply partition-number"
|
||||
|
||||
has_cmd "sfdisk" || fail "sfdisk not found"
|
||||
get_sfdisk_version || fail
|
||||
|
||||
[ -e "${DISK}" ] || fail "${DISK}: does not exist"
|
||||
|
||||
[ "${PART#*[!0-9]}" = "${PART}" ] || fail "partition-number must be a number"
|
||||
|
||||
verify_ptupdate "$pt_update" || fail
|
||||
PT_UPDATE=$_RET
|
||||
|
||||
debug 1 "update-partition set to $PT_UPDATE"
|
||||
|
||||
mktemp_d && TEMP_D="${_RET}" || fail "failed to make temp dir"
|
||||
trap cleanup 0 # EXIT - some shells may not like 'EXIT' but are ok with 0
|
||||
|
||||
# get the ID of the first partition to determine if it's MBR or GPT
|
||||
get_table_format "$DISK" || fail
|
||||
format=$_RET
|
||||
get_resizer "$format" "$resizer" ||
|
||||
fail "failed to get a resizer for id '$id'"
|
||||
resizer=$_RET
|
||||
|
||||
debug 1 "resizing $PART on $DISK using $resizer"
|
||||
"$resizer"
|
||||
|
||||
# vi: ts=4 noexpandtab
|
@ -0,0 +1,176 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.28.5-r1.ebuild,v 1.1 2015/07/20 23:13:07 sping Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
WANT_LIBTOOL=latest
|
||||
WANT_AUTOMAKE=1.14
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4}} )
|
||||
|
||||
inherit python-single-r1 autotools-utils autotools versionator eutils \
|
||||
multilib linux-info perl-module base
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0/"${MY_PV_1}""
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl python ruby static-libs
|
||||
selinux systemtap introspection inspect-icons test lua"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# Failures - doc
|
||||
# Failures - bash-completion, see GBZ #486306
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-libs/ncurses
|
||||
sys-devel/gettext
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-1.0.0
|
||||
sys-fs/squashfs-tools:*
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline:=
|
||||
>=sys-libs/db-4.6:*
|
||||
app-arch/xz-utils
|
||||
app-arch/lzma
|
||||
app-crypt/gnupg
|
||||
app-arch/unzip[natspec]
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt]
|
||||
dev-ml/findlib[ocamlopt]
|
||||
dev-ml/ocaml-gettext
|
||||
)
|
||||
erlang? ( dev-lang/erlang )
|
||||
inspect-icons? ( media-libs/netpbm
|
||||
media-gfx/icoutils
|
||||
)
|
||||
virtual/acl
|
||||
sys-libs/libcap
|
||||
lua? ( dev-lang/lua:* )
|
||||
>=app-shells/bash-completion-2.0
|
||||
dev-libs/yajl"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
${AUTOTOOLS_DEPEND}
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/libguestfs-appliance
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${MY_PV_1}"/*.patch )
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eaclocal
|
||||
eautomake
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable test werror)
|
||||
--with-libvirt
|
||||
--with-default-backend=libvirt
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
$(use_enable python)
|
||||
--without-java
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
--disable-golang
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
$(use_enable systemtap probes)
|
||||
$(use_enable lua)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use perl && perl_delete_localpod
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Perl based tools NOT build"
|
||||
fi
|
||||
if ! use ocaml ; then
|
||||
einfo "Ocaml based tools ( sysprep , ... ) NOT installed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.8.1-r1.ebuild,v 1.1 2015/07/21 01:17:17 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="open source high performance realtime 3D engine written in C++"
|
||||
HOMEPAGE="http://irrlicht.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="debug doc static-libs"
|
||||
|
||||
RDEPEND="virtual/jpeg:0
|
||||
media-libs/libpng:0
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXxf86vm"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
x11-proto/xproto
|
||||
x11-proto/xf86vidmodeproto"
|
||||
|
||||
S=${WORKDIR}/${P}/source/Irrlicht
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
edos2unix include/IrrCompileConfig.h
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-config.patch \
|
||||
"${FILESDIR}"/${P}-demoMake.patch \
|
||||
"${FILESDIR}"/${P}-mesa-10.x.patch \
|
||||
"${FILESDIR}"/${P}-jpeg-9a.patch
|
||||
|
||||
sed -i \
|
||||
-e 's:\.\./\.\./media:../media:g' \
|
||||
$(grep -rl '\.\./\.\./media' examples) \
|
||||
|| die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX CC AR
|
||||
emake NDEBUG=$(usex debug "" "1") sharedlib $(usex static-libs "staticlib" "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
use static-libs && dolib.a lib/Linux/libIrrlicht.a
|
||||
dolib.so lib/Linux/libIrrlicht.so*
|
||||
|
||||
# create library symlinks
|
||||
dosym libIrrlicht.so.${PV} /usr/$(get_libdir)/libIrrlicht.so.1.8
|
||||
dosym libIrrlicht.so.${PV} /usr/$(get_libdir)/libIrrlicht.so
|
||||
|
||||
insinto /usr/include/${PN}
|
||||
doins include/*
|
||||
|
||||
dodoc changes.txt readme.txt
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples media
|
||||
fi
|
||||
}
|
@ -1,35 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX hamcrest-1.2-empty_generator.patch 1243 SHA256 fb6e39cbadc9f71e396686f156ed1955305efd54963aa116bbd361e83354cc40 SHA512 63c5158ce703f4eff7e119d3fdefb9bf8d785ba6134f96588694b9e76505960ea2e927adb9dd44628643f2b0c66c9a339df9ea157cd0adbccdc4b03b63f42e49 WHIRLPOOL 996f7450c89835a5f34fc7d2f53229bec1aea000e26848a25511639b63ec2fd68dc80e10dbcbec4e88feef4c557b67be4de4cb89839992db8cb9a969e43c5aec
|
||||
AUX hamcrest-1.2-no_source_in_jar.patch 582 SHA256 7633f189219a8fa9eac1739ec4213620b0d9d70f689585afa852ac6b378eb1bd SHA512 77a1009697342e0803a8ed2bb1333976a5b6d63c5755b2f9a1fcf8a6893401694392a6a56594c24cd2cb4fa8a9930638cd41cb66700d42b1c4a9c644da0e4e52 WHIRLPOOL afe9d68604bfea4049561a3291104eb7700662c9ff5eb2aa2b28a064d9a3f993a8142ce7668e3caf781bd63539a2a84e6774ee871964feef0ab4147ef8148ef2
|
||||
AUX hamcrest-1.3-empty_generator.patch 1227 SHA256 ceda6816ac536c2c24402098a7308cede442d842e3b3bf1c2ef9ef1b33e7a24b SHA512 766f57a449d4535432ab192c40a37ff9a09fe760b06ce5beb6a68b2b804c77ce232e8003fb3f3ef7b71df1cd2ceae7ff13fd3de28d20ec0ced1274c912d414b5 WHIRLPOOL 866ec50119d39aec33eb028972654aea4d39ea4b892f89a9c391ce90c290261b094d890e78cb61b6d6771b73b5e8c521abae79d7e0faa9371c8d1697db34eead
|
||||
AUX hamcrest-core-1.2-fix_javadoc.patch 1520 SHA256 68631185b772f5e2198904d20c3609384b99e544168dcc11ee248c401eb9333f SHA512 118cc0f1b13064fa79fc98426d97295625900b06f647f4fc52055b8eea9766a1d445a72622f474109ccd691ece3ec8f472113da12f20279ffd1f882b6eb08e88 WHIRLPOOL d86973433e66842ad8e4246844a6673322e019ee6c272f86019124956610ec72d0e92d2d5520290e63d8a21ce0a22116740635e6ccea0fe22fbdf1e9df653c7a
|
||||
AUX hamcrest-core-1.3-fix_javadoc.patch 3036 SHA256 b1b8118d90ae9470067cbf9c248d69b390ad4d90952d1438444b31223a4cfba9 SHA512 f50fe8f2ba32e17118c42e438ef96973f7c04b70321353ed2c19c7ec8f61ba0c801b49920295d0d30add50fb18dbab5cd079b1879f71f4d569b8253ca40b4ce3 WHIRLPOOL cf2290d474ca6382421cda70186fbc2fc34f27f11bef40242cf77096bccb6b4529367f33175e742ca4e5772d08c332c32ffb98a735c323c9196309e5f4ad0546
|
||||
DIST hamcrest-1.1.tgz 1670123 SHA256 a76cca2dbb38ac185f51f8551c964a356009c7adf1a19b5407f87352e2e438c8 SHA512 07b55c539ffcd3b1d33e94bec518164b95cefa39d96e0c3d02fc97c0a20f71bd8d1dea90a59ffd163e748ed1007b087c3d0d355876a68a429e8e564d0cfd3595 WHIRLPOOL 937d4fcde43a36eb19efb1b45e255389dcd18a853f90cc96e6421cec4db176708047e4c6de53ad7f3c11b29e4bc77725c3b70992239d9da420fa95c682615011
|
||||
DIST hamcrest-1.2.tgz 1824622 SHA256 461fcf87afbf85f0879c283ec59810433797dc9f3040b7c2d58494da4aaf2a94 SHA512 e211fee64ef8acce48d2ae572a669fcb1f5e7d05c4ec5d1149a7d42ad64fabd655b24da1a328028cbcc12ef1500907c416513af08168c7b3c22999a00998336e WHIRLPOOL c16fec727dd38ee0e5ee4ae938ba57f6e7b648359df41a99573f65a436dff5601f404e035bdd205baa293581970bb4b0355cfe8fc03f212185f88ef29a2175cd
|
||||
DIST hamcrest-1.3.tgz 3686096 SHA256 c6428e40d069fff3f99780efaae96c35ebdbf7cbfd475504254ebffcc19620c2 SHA512 5672bc627bc71d6fd64b6f776b89ac16ed68819fa4a0748c1250b57f1065c1e7e18ba184d9fe3392e54000ddeb353d0d8d67f4eecdf464974563f05c6b226fc2 WHIRLPOOL 9edc85f8d988ba9e7d080e3240d02956775bb73857903a2ec2a72e80d5a1b8570111c97d7b9906951273a1a1db6213a77de9cc2c55a6c73246d45157fed11ed9
|
||||
EBUILD hamcrest-core-1.1.ebuild 1250 SHA256 a97e17f1ed6a24365e989bfb4bd97ab4347ee1ae9da8025120aa712fe1fd9b01 SHA512 4589ec93dc752db201f277443a058dd710098b5ea1c25fca458e197ec6363460ea364a7bd56afe18b3790649c3d6951d91c2b23b30c06e02706827f65a55c95c WHIRLPOOL d761093955fe9208ea4a1907d6a2ac14f893413c66a347199d7fa6cbaa042250992a8df91c62c36dbb66a06574229d689b0d05454e4d688d70fe75365e73e6c9
|
||||
EBUILD hamcrest-core-1.2.ebuild 1747 SHA256 8a626efc8f4441e7c546e06c79ce17eba4b749e5aaadd829dfa1547a67f3741c SHA512 937b4497bb99770b5f2df9a7ca005fef2ae61059782f96f82299baf11a5c64e4d4299a5e8e5e93b12fdc9414c14cdb1a60f3a1665b61ae371b66e7c40cadfff3 WHIRLPOOL 0003c3f5087682e619fb201d1b535453df7775cff91eced441c90d6f5da51ddc8222f82d76c894660e3af1ad73f520ae2a511791d19012337f7529d03bfb41ca
|
||||
EBUILD hamcrest-core-1.3.ebuild 1653 SHA256 b3aa2ccefc1d15ace89c81255bbe5aa0e9703183e7cee19b6beda90a737d6840 SHA512 6babe94e1bd3e03e029e34755f9a876eca457753236cb05a6a47bbc37e6f0f42a7d95ff25930c0f478f5b5e224993ec19d86258f5a2c38f29986c7e291c08e2f WHIRLPOOL 46a1e5a3f0abd9cc1697a348f209d5499981070fce62096cf2cc817043c475e9002e6c6d1ceef91d0238de2825caf2c5f600000a8f214fd5014fb554b43337c2
|
||||
MISC ChangeLog 3317 SHA256 74d20830569b186a52a4f54475caa44a7003ae2371c7cc6273189f00fdeb7ba1 SHA512 9de229a8160296157024020ad3770317d4846bce8550d04bec03750269eed5bc107aef201b161320f61307e439ae3842447e85e62014204dfabced50d4ee4ee8 WHIRLPOOL c196a8cb4602670619478d51d3d43bf8ae5effdcf0eeb679a986b6c28fbbc96e4499b8703ea00517c8a942e7c3b950368c40759dcbcd4cac6806afc288461b85
|
||||
MISC ChangeLog 3555 SHA256 dae96de408d6d208b20171285dcdec46453227abc7e28206e8ed251ece1b005c SHA512 4020c953f47518cf3374b18da7382b8dc793bf6c4a91ebb0f5a6da2c095979292e67ff779eea45846ba0f92aeb1e60e84b6b468dc17f78ce115e55ab9f549ccd WHIRLPOOL be26717e779878edd3e6b94722b254e20281b28f123d03340bc51e824d286baad90400e11884ddddb4d4018d33cbfcc8a12a27664afb78b3c96d97233c8ebb65
|
||||
MISC metadata.xml 236 SHA256 71511720e664e95baa90512d184442865ed781fbe0da912aa8a487c34abcccc2 SHA512 e73981759865d8ba33c8daa1efce4fd7ce9f43c51be36dab5844d61a9b77971f7f1f3a55aa8760dfdc3786cb0326a1881729fbcb27117b20a346feff0e5c5a19 WHIRLPOOL 0d339941313b1f7418b2c390ffec6d33826be4779291272d5fae172ef634a80ed6206bc4a0120de7fcfcff45bc87175b10154bf81ae404bff773308f7cb28896
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.1
|
||||
|
||||
iQJ8BAEBCABmBQJVoOATXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
iQJ8BAEBCABmBQJVrWf2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy
|
||||
MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kalIP/RjBkAWmR5r0LlXAIjj8kg6n
|
||||
SMyAvCymKNFARTH01+8RCjZRsSsSFcJykdc9ZN2qOOiaalp/z/wrK1MDIG4FaLXo
|
||||
Y7KLeOJxbyIHkIR+Q7ot4tRM81dy/51wtM2OjzKB5OzALANSf8sN3X5iATNwPN60
|
||||
FBB4x0uPoGalaAKTMggO5GOjyILjzPJzwR6kDIKPfjF/yBoNXMZ/Ne7JLqNLXTse
|
||||
TALg2/bcOy6iQPb0FJJEZGrzFmfEd6fByj+EMaQ02eGqLNbIOk4TpBA/l/vTq415
|
||||
REUHW+qT9Bvccvk1pwhhi/kSHp8nNWv6fIXpoLWtuiscbSrUCxuTDEdJhYR4OGGv
|
||||
4mNs3EwQ50EdSA1a5/04JIc0grUAA5DsRlBfm7tl/DEmFeZpna56o7KvLeyKkLdO
|
||||
0dEW+0naB9xNZHYdXhngXsn2OA+D7b4argUf3rTpxHgQei/7lim/8RhsxGRLJv4D
|
||||
Tyq7C+kynljQ+rwv+Izy66bY57DswO8S+AGoqGumkZQVH5LLDewVmVSMXWEuvphG
|
||||
USTPfF3P8KmHFYnytYF/326/kJTp+AyLvP4G+2TfipZ0vfewMLA96I1PPUEanITn
|
||||
kiv7QFZ8Job5uX9jPbAQCAPBxnt3m9rBlB+pjX9aGSA4yPIUpC6R5HtH6Xq4+lO6
|
||||
occO4dnNYX7zmnVI9lKP
|
||||
=4DFe
|
||||
MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kUHkP/Axm5DcvzjMSGSLg3QUG5F/d
|
||||
K4FKrKGcn/LlnR56XZrQExW7AChJJZeQ7/OxRJBvbG30h3KeyZF0CL+oVaS+5Oi5
|
||||
ibDcMRJFCr1Wd4115jKRjCLRKQLGJMQe9pfajuUsl/yUoNyQ3O9nfeQ6Bs7pZjMt
|
||||
SssSoK5r1Q3aPnI9biXI1IIHEzduU2WfPsA646t6rSuEnETF/vU/u26xs7IfXFio
|
||||
6zUB7Y5AOHRcctsPbuVX8kHwzfDJRAgzzXYFDJ0BNgJFLWa+vwiaVjll6QKahIT6
|
||||
+bcB5yaxG9upQvFuA/A9S9zyVsWgsuWqu3D3knD7vIBUzRkZjsgAPUOsrtDMFsJ0
|
||||
b5Wb73/mT4WFdOtdJmfhK/TjIuicvJH5dmNOMw9/DRX9aQ+xPB3WFwk7ksiORScC
|
||||
KwmnkrvAYJ09jPF04QUqimcCIM1hczVcqfSrAVX8Lou0NNi3Pp7n8/XQIYQn0tkz
|
||||
j+1pHdpLujdRCaNX5NKG1GFPdC4ya87vGSTEMrowIF2G+76JLJHIB1/ABM5DH78y
|
||||
2JPryBHKcjSjDT0a17hT+vXIG1MpBWRKUC3h3n5Lho40/20KXp1xFDPCOVic9w2R
|
||||
a8ymAvBHmyf/c6EcLG/5YePyxGwSMG/UItj1WZHl+P9iT+FC+gZN4HUIEuWMYSdq
|
||||
B7RG/OuiD/kWbKfuGwGU
|
||||
=biGc
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,26 +0,0 @@
|
||||
--- build.xml.orig 2009-09-28 06:24:43.000000000 -0500
|
||||
+++ build.xml 2009-09-28 09:04:33.000000000 -0500
|
||||
@@ -23,23 +23,6 @@
|
||||
|
||||
<target name="generator"
|
||||
description="Build code generator tool">
|
||||
- <java-to-jar srcdir="hamcrest-generator/src/main/java"
|
||||
- destjar="build/temp/hamcrest-generator-${version}-nodeps.jar"
|
||||
- classpath="
|
||||
- lib/generator/qdox-1.6.1.jar;
|
||||
- "/>
|
||||
- <taskdef name="jarjar"
|
||||
- classname="com.tonicsystems.jarjar.JarJarTask"
|
||||
- classpath="lib/generator/jarjar-1.0rc3.jar"/>
|
||||
- <!-- Bundle QDox classes in hamcrest-generator.jar so user doesn't need to care
|
||||
- about it's existence. Uses JarJar to place classes under a different package
|
||||
- to prevent conflict. -->
|
||||
- <jarjar jarfile="build/hamcrest-generator-${version}.jar">
|
||||
- <zipfileset src="build/temp/hamcrest-generator-${version}-nodeps.jar"/>
|
||||
- <zipfileset src="lib/generator/qdox-1.6.1.jar"/>
|
||||
- <rule pattern="com.thoughtworks.qdox.**"
|
||||
- result="org.hamcrest.generator.qdox.@1"/>
|
||||
- </jarjar>
|
||||
</target>
|
||||
|
||||
<target name="core"
|
@ -1,13 +0,0 @@
|
||||
--- build.xml 2009-09-28 06:16:14.000000000 -0500
|
||||
+++ build.xml.nosrcinjar 2009-09-28 06:16:03.000000000 -0500
|
||||
@@ -236,10 +236,6 @@
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy file="LICENSE.txt" todir="build/temp/@{destjar}.contents"/>
|
||||
- <!-- Put Java source in Jars for user's convenience. -->
|
||||
- <copy todir="build/temp/@{destjar}.contents">
|
||||
- <fileset dir="@{srcdir}"/>
|
||||
- </copy>
|
||||
<jar jarfile="@{destjar}">
|
||||
<fileset dir="build/temp/@{destjar}.contents"/>
|
||||
</jar>
|
@ -1,36 +0,0 @@
|
||||
--- build.xml.orig 2009-09-28 06:24:43.000000000 -0500
|
||||
+++ build.xml 2009-10-04 13:00:14.000000000 -0500
|
||||
@@ -194,29 +194,17 @@
|
||||
</tar>
|
||||
</target>
|
||||
|
||||
- <target name="javadoc" depends="library">
|
||||
+ <target name="javadoc" depends="core">
|
||||
<mkdir dir="build/javadoc"/>
|
||||
- <javadoc destdir="build/javadoc" source="1.5" failonerror="yes"
|
||||
- overview="overview.html">
|
||||
+ <javadoc destdir="build/javadoc" source="1.5" failonerror="yes">
|
||||
|
||||
- <classpath>
|
||||
- <fileset dir="lib/integration">
|
||||
- <include name="*.jar"/>
|
||||
- </fileset>
|
||||
- </classpath>
|
||||
-
|
||||
- <packageset dir="hamcrest-core/src/main/java"/>
|
||||
- <packageset dir="hamcrest-library/src/main/java" excludes="org/hamcrest/internal"/>
|
||||
- <packageset dir="hamcrest-integration/src/main/java"/>
|
||||
- <packageset dir="build/generated-code"/>
|
||||
+ <packageset dir="hamcrest-core/src/main/java" excludes="org/hamcrest/internal"/>
|
||||
+ <packageset dir="build/temp/hamcrest-core/generated-code"/>
|
||||
|
||||
<group title="Hamcrest API and Utility Classes" packages="org.hamcrest"/>
|
||||
<group title="Matcher Library" packages="org.hamcrest.*"/>
|
||||
- <group title="Integration" packages="org.hamcrest.integration, org.hamcrest.integration.*"/>
|
||||
|
||||
<link offline="false" href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
|
||||
- <link offline="false" href="http://www.junit.org/junit/javadoc/3.8.1/"/>
|
||||
- <link offline="false" href="http://junit.sourceforge.net/javadoc_40/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-core/hamcrest-core-1.2.ebuild,v 1.3 2014/08/10 20:14:08 slyfox Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="hamcrest"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Core library of matchers for building test expressions"
|
||||
HOMEPAGE="http://code.google.com/p/${MY_PN}/"
|
||||
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
~dev-java/hamcrest-generator-${PV}
|
||||
userland_GNU? ( sys-apps/findutils )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} java java-to-jar"
|
||||
|
||||
EANT_BUILD_TARGET="core"
|
||||
|
||||
java_prepare() {
|
||||
# Don't include source in JAR. If a Gentoo user wants the source the source
|
||||
# USE flag will be enabled.
|
||||
epatch "${FILESDIR}/hamcrest-1.2-no_source_in_jar.patch"
|
||||
|
||||
# Empty out the contents of the generator target; it has already been built.
|
||||
epatch "${FILESDIR}/hamcrest-1.2-empty_generator.patch"
|
||||
|
||||
# Fix problems with Javadoc target.
|
||||
epatch "${FILESDIR}/hamcrest-core-1.2-fix_javadoc.patch"
|
||||
|
||||
find -iname "*.jar" -exec rm -v {} + || die "Unable to clean bundled JAR files"
|
||||
|
||||
local cp="build/${P}.jar"
|
||||
cp="${cp}:$(java-pkg_getjars --build-only --with-dependencies hamcrest-generator-${SLOT})"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV} -Dgentoo.classpath=${cp}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/${PN}-${PV}.jar ${PN}.jar
|
||||
|
||||
dodoc README.txt CHANGES.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc build/javadoc/
|
||||
use source && java-pkg_dosrc ${PN}/src/main/java/org
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
--- build.xml 2009-09-28 06:16:14.000000000 -0500
|
||||
+++ build.xml.nosrcinjar 2009-09-28 06:16:03.000000000 -0500
|
||||
@@ -236,10 +236,6 @@
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy file="LICENSE.txt" todir="build/temp/@{destjar}.contents"/>
|
||||
- <!-- Put Java source in Jars for user's convenience. -->
|
||||
- <copy todir="build/temp/@{destjar}.contents">
|
||||
- <fileset dir="@{srcdir}"/>
|
||||
- </copy>
|
||||
<jar jarfile="@{destjar}">
|
||||
<fileset dir="build/temp/@{destjar}.contents"/>
|
||||
</jar>
|
@ -1,21 +0,0 @@
|
||||
--- build.xml.orig 2009-11-03 13:53:40.000000000 -0600
|
||||
+++ build.xml 2009-11-03 13:54:11.000000000 -0600
|
||||
@@ -28,18 +28,6 @@
|
||||
classpath="
|
||||
lib/generator/qdox-1.6.1.jar;
|
||||
"/>
|
||||
- <taskdef name="jarjar"
|
||||
- classname="com.tonicsystems.jarjar.JarJarTask"
|
||||
- classpath="lib/generator/jarjar-1.0rc3.jar"/>
|
||||
- <!-- Bundle QDox classes in hamcrest-generator.jar so user doesn't need to care
|
||||
- about it's existence. Uses JarJar to place classes under a different package
|
||||
- to prevent conflict. -->
|
||||
- <jarjar jarfile="build/hamcrest-generator-${version}.jar">
|
||||
- <zipfileset src="build/temp/hamcrest-generator-${version}-nodeps.jar"/>
|
||||
- <zipfileset src="lib/generator/qdox-1.6.1.jar"/>
|
||||
- <rule pattern="com.thoughtworks.qdox.**"
|
||||
- result="org.hamcrest.generator.qdox.@1"/>
|
||||
- </jarjar>
|
||||
</target>
|
||||
|
||||
<target name="core"
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-generator/hamcrest-generator-1.2.ebuild,v 1.3 2015/07/11 09:21:24 chewi Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="hamcrest"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Code generator for Hamcrest's library of matchers for building test expressions"
|
||||
HOMEPAGE="http://code.google.com/p/${MY_PN}/"
|
||||
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
|
||||
|
||||
CDEPEND="dev-java/qdox:1.6"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
userland_GNU? ( sys-apps/findutils )
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
EANT_BUILD_TARGET="generator"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Don't include source in JAR. If a Gentoo user wants the source the source
|
||||
# USE flag will be enabled.
|
||||
epatch "${FILESDIR}/hamcrest-1.2-no_source_in_jar.patch"
|
||||
epatch "${FILESDIR}/${P}-no_jarjar.patch"
|
||||
|
||||
find -iname "*.jar" -exec rm -v {} + || die "Unable to remove bundled JAR files"
|
||||
|
||||
# These jars must be symlinked. Specifying them using gentoo.classpath
|
||||
# does not work.
|
||||
java-pkg_jar-from --into lib/generator qdox-1.6 qdox.jar qdox-1.6.1.jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/temp/${PN}-${PV}-nodeps.jar ${PN}.jar
|
||||
|
||||
dodoc README.txt CHANGES.txt
|
||||
|
||||
use source && java-pkg_dosrc ${PN}/src/main/java/org
|
||||
}
|
@ -1,260 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 7/10/15 10:33 AM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="junit-4.12" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="junit-4.12"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="lib/hamcrest-core.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="lib/hamcrest-core.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="ISO-8859-1"
|
||||
nowarn="true"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="true"
|
||||
memoryInitialSize="128m"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="LICENSE-junit.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="ISO-8859-1"
|
||||
nowarn="true"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="true"
|
||||
memoryInitialSize="128m"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
<exclude name="**/NotPublicTestCase.java"/>
|
||||
<exclude name="**/TestWatchmanTest.java"/>
|
||||
<exclude name="**/TestWatcherTest.java"/>
|
||||
<exclude name="**/SimpleTest.java"/>
|
||||
<exclude name="**/TestSystem.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.Missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="true"
|
||||
locale="en"
|
||||
encoding="UTF-8"
|
||||
version="false"
|
||||
use="false"
|
||||
author="false"
|
||||
splitindex="false"
|
||||
windowtitle="JUnit API"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
failonerror="false"
|
||||
stylesheetfile="/var/tmp/portage/dev-java/junit-4.12/work/junit-r4.12/src/main/javadoc/stylesheet.css"
|
||||
charset="ISO-8859-1"
|
||||
linksource="true"
|
||||
breakiterator="false"
|
||||
maxmemory="128m" />
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="Main"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.12-r1.ebuild,v 1.1 2015/07/20 21:46:23 chewi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Simple framework to write repeatable tests"
|
||||
SRC_URI="https://github.com/${PN}-team/${PN}/archive/r${PV}.zip"
|
||||
HOMEPAGE="http://junit.org/"
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples"
|
||||
|
||||
CDEPEND="dev-java/hamcrest-core:1.3"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-r${PV}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3"
|
||||
|
||||
java_prepare() {
|
||||
rm -v lib/*.jar || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres ${PN}.jar src/main/resources
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc {acknowledgements,{LEGACY_,}CODING_STYLE,NOTICE,to-do}.txt {CONTRIBUTING,README,doc/ReleaseNotes${PV}}.md
|
||||
use examples && java-pkg_doexamples src/test/java/org/junit/samples
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd src/test/java || die
|
||||
|
||||
local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})"
|
||||
|
||||
ejavac -cp "${CP}" -d . $(find * -name "*.java")
|
||||
java -cp "${CP}" -Djava.awt.headless=true org.junit.runner.JUnitCore junit.tests.AllTests || die "Running junit failed"
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.12.ebuild,v 1.2 2015/07/12 12:19:16 monsieurp Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Simple framework to write repeatable tests"
|
||||
SRC_URI="https://github.com/${PN}-team/${PN}/archive/r${PV}.zip"
|
||||
HOMEPAGE="http://www.junit.org/"
|
||||
|
||||
LICENSE="CPL-1.0"
|
||||
SLOT="4"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
CDEPEND="dev-java/hamcrest-core:1.3"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
userland_GNU? ( >=sys-apps/findutils-4.3 )
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-r${PV}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_BUILD_XML="build.xml"
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml
|
||||
|
||||
find . -type f \( -name \*.jar -o -name \*.class \) -print -delete
|
||||
|
||||
java-pkg_jar-from --into lib hamcrest-core-1.3 hamcrest-core.jar
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="package"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
EANT_TEST_TARGET="test"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar junit.jar
|
||||
dodoc doc/ReleaseNotes${PV}.md
|
||||
|
||||
if use examples; then
|
||||
java-pkg_doexamples src/test/java/org/junit/samples
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
java-pkg_dosrc src/main/java/{org,junit}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/site/apidocs
|
||||
fi
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# ChangeLog for dev-java/mockmaker
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/mockmaker/ChangeLog,v 1.11 2014/08/10 20:21:38 slyfox Exp $
|
||||
|
||||
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
QA: drop trailing '.' from DESCRIPTION
|
||||
|
||||
29 Aug 2008; Petteri Räty <betelgeuse@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
Use JAVA_PKG_IUSE to get proper DEPEND.
|
||||
|
||||
10 Jan 2008; Vlastimil Babka <caster@gentoo.org>
|
||||
-mockmaker-1.12.0_p20050104.ebuild, mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
Restrict junit dependency, version dump.
|
||||
|
||||
10 Nov 2007; nixnut <nixnut@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
Stable on ppc wrt bug 197709
|
||||
|
||||
02 Nov 2007; William L. Thomson Jr. <wltjr@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
amd64 stable, bug #197707.
|
||||
|
||||
01 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
stable x86, bug 197707
|
||||
|
||||
04 Aug 2007; Miroslav Šulc <fordfrog@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104.ebuild, mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
Removed restriction on dev-java/qdox version as qdox versioning scheme has
|
||||
changed and upgrade to new version of qdox would be impossible.
|
||||
|
||||
*mockmaker-1.12.0_p20050104-r1 (12 Jan 2007)
|
||||
|
||||
12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
|
||||
+mockmaker-1.12.0_p20050104-r1.ebuild:
|
||||
Migrated to generation 2 and added the source use flag. No javadoc support
|
||||
in the build.xml so made it always install the couple of html files that
|
||||
were previously under the doc use flag.
|
||||
|
||||
04 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104.ebuild:
|
||||
stable on amd64, ppc and x86
|
||||
|
||||
15 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
mockmaker-1.12.0_p20050104.ebuild:
|
||||
added ~ppc to KEYWORDS
|
||||
|
||||
*mockmaker-1.12.0_p20050104 (05 Jan 2005)
|
||||
|
||||
05 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
|
||||
+mockmaker-1.12.0_p20050104.ebuild:
|
||||
Initial import. Ebuild provided by myself. Dependency of #63290.
|
@ -1,14 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST mockmaker-1.12.0_p20050104.tar.bz2 263986 SHA256 5feef7ca748e2e167da64459262b08b3824c7f0323419d01820ea1e99add31a9 SHA512 a116f02594a8a1a44ebf0174597c40a441b60dc37cfe077c74afd561ddbe8cc2d6ea1e2b24a37dfea5fe3e85307acddf87d5dbcbdb0a962d43d30fdbe9696373 WHIRLPOOL 7652591f0c05cb14b1504a878afbea4ca24a101d8f87b8d43e0b3b9c6f98974276d73074ae3b0e55b9fabd3a1561f0bf3d598ad79d88c0c1aa65ca4fcc49f66d
|
||||
EBUILD mockmaker-1.12.0_p20050104-r1.ebuild 1019 SHA256 925dae1ac8069bccf5e2400800e39c0fa76b3bdbc6ed9f8d4d043d4b1b08bff7 SHA512 d6a95838937b914b94ceb06d8fe84111c2ece6ef9fdb1086fc346e854b1f318e8edf90c88f4b4e10ff5552e004ddf4f480b3ea2caca430a2bd580ebc7dfbf2b3 WHIRLPOOL 7654c79b1c771ba2fcf659638d3b047e418df154dc7f75097ed4ec61b9a395cdec65058f1e2e3f5155ef1a41adc1c916c4fa6105732215820e957631f95fa751
|
||||
MISC ChangeLog 2057 SHA256 88ed89c31d43ee2ee7878800e2fa3983b66d6f53a77092e1c6a55232dc45ed90 SHA512 053d767f007162bcc15dc7b641f00610b6684d70cc1ba8b4b202dae492c42e61347b60b1498ac0a8bff171c6468fe11c1c6a1a59297eda2e6019cc8bea7bd7d3 WHIRLPOOL 13d278ddb02c1857c59af28cf6872b19c5f6f820594c9121306d1cc59197db824048c0c2fbf29d6a82369d06ddcdc314a4e62c893fd36e3bc3b110cd7543ac4a
|
||||
MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlPn1FMACgkQcaHudmEf86quaACggez+W+ym51nH3e8Zk9gEuV/f
|
||||
GCYAnihkEjrxQVpECD5cn2yPD1usozMw
|
||||
=3uUj
|
||||
-----END PGP SIGNATURE-----
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/mockmaker/mockmaker-1.12.0_p20050104-r1.ebuild,v 1.9 2014/08/10 20:21:38 slyfox Exp $
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Program for automatically creating source code for mock object"
|
||||
HOMEPAGE="http://mockmaker.sourceforge.net"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.12"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
dev-java/qdox
|
||||
=dev-java/junit-3.8*
|
||||
>=dev-java/ant-core-1.4
|
||||
dev-java/mockobjects"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}/lib
|
||||
rm -v *.jar
|
||||
java-pkg_jar-from qdox-1.6
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from ant-core
|
||||
java-pkg_jar-from mockobjects
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant compile # no javadoc support in build.xml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/tmp/${PN}.jar
|
||||
|
||||
dohtml -r docs/website/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.10.0.ebuild,v 1.1 2015/06/30 14:41:23 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.10.1.ebuild,v 1.1 2015/07/21 07:39:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.5.0.ebuild,v 1.1 2014/10/04 12:32:52 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Provides functionality for gaming input devices"
|
||||
|
||||
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
|
||||
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
media-libs/libcanberra
|
||||
virtual/libusb:1
|
||||
dev-libs/dbus-glib
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-doc/doxygen
|
||||
"
|
||||
src_configure() {
|
||||
mycmakeargs=( -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.6.0.ebuild,v 1.1 2015/02/21 14:21:15 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Provides functionality for gaming input devices"
|
||||
|
||||
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
|
||||
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
media-libs/libcanberra
|
||||
virtual/libusb:1
|
||||
dev-libs/dbus-glib
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
$(cmake-utils_use_with doc DOC)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.7.0.ebuild,v 1.1 2015/03/24 05:02:17 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Provides functionality for gaming input devices"
|
||||
|
||||
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
|
||||
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
media-libs/libcanberra
|
||||
virtual/libusb:1
|
||||
dev-libs/dbus-glib
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
$(cmake-utils_use_with doc DOC)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,19 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX CVE-2013-4420.patch 2454 SHA256 7092cbe003c0c26836ca0c7f78149aac8914dafe55409942a5285af4cc2f0cf9 SHA512 a325c1225b838a573448f05ba1a6712ab8430107793bc574dcea6a77b28d3ad36f3d1d801b392be0992007df78ea59b0b729623631f12b80846fdd039a66eb26 WHIRLPOOL 327f42473e09e4e75f27ed04f767a20609b8af27b5229abfa90616aac30f8d383e2e4f7f60370510f17264b7cd4110a130f3ba17a7c6a01870a9c4df59277359
|
||||
AUX libtar-1.2.11-fortify.patch 246 SHA256 8faa386b4879b5e8855e69708fb77e779629b1d9162b06cc01095b38f187ea26 SHA512 29edbe23d0d7809d59592677ab06b8f63fe38b0ef758e2cc5633ae0d32d9a505fb5983a4c5363addcd34fbf756e2646d905b2249777fa8ffd9a36367cee20832 WHIRLPOOL da6e4b2a2436be983a9bd0a3d5dda5ebbd876adf54bd0062ae8414c4ec32d377628ca562907043594a86b9092b522aca5808df7e8c2072788d04581747b53d7d
|
||||
AUX libtar-1.2.11-free.patch 337 SHA256 ed7c9218c5f2b7f26f41d79ff7e2ede793816bfdeeffd0480ea90f2a818ca1ac SHA512 ea6475cdb000967c0029a35d8b02cde3c9227cfa73c57ab654879e7b030a5ca2732e5286fcd2f146bbb74213e01ea4d0f9259f06a6fe466a7bd63b1e6e43e07c WHIRLPOOL 88751fed4b5d0388bc17d2431152b5caa1642d6bfd63bc1b7200e096bc105c8d7348ce143ae008b944b66dcfbe1ddb73be1d7c9abba8b5b17e2934f8e4843d73
|
||||
AUX libtar-1.2.11-impl-dec.patch 332 SHA256 c9799e718142004b8653e5926347faf406509665b946fd8760049babff442612 SHA512 d8e6d341b4f30121571da0afc369fd3b45055224cc336640cb6f087e020959dcee8b2f00ac7b4d9f20faf44f1d87414b1a267080b412f043bb58d02bdbc91f94 WHIRLPOOL 1a55f21c3c60823b401a77db5a83b0af1a53893e0873cac0a384bdfd6064dbb6308c4dfb8ebca81b837d8490190b54fef6c5b66b6658ef308bc6700216a39a6d
|
||||
DIST libtar-1.2.20.tar.gz 63542 SHA256 b17f84c3cfb8734c1ec5290f5fed8285037199f11ea8c0e2d8f807cbe83c9d8f SHA512 360a0296af99bedd6d93236c3d6d6746fd38deaa5287e7a138d303e1072bc8871437a693dc926d82af5b54dedba2ebdff5a3edb1f7d7dc494b4235439e477dec WHIRLPOOL c2f9b243a497df4ec03188b25d4bf5a8ab17e895c1c3c7e359c3eca869229df6ff8d5b632cafa0f297e3e613538b94755d176295d8e15673b9ab9a71bd5435d7
|
||||
EBUILD libtar-1.2.20-r2.ebuild 1258 SHA256 ba6c993aa1eec6112a587464e1775111a4664eb525794d5fb76aba432b6cc522 SHA512 d62eb9163fbffcb383bde9309dfeae54af9a259df37d33dd4385ecf9b3fe8e8e7acd7cfa0ca6494ed9ab691973a25c09b8a0d65fc851628cf8a7fbd3b5d8c4e1 WHIRLPOOL 6449d5f4168f941eb755d685a25ed58e1d9d604c4c3c6b5244f2286c3279bd7f0c11c9cb97b252881a71b3c64f02bf3999ebe64d3550d49e21be2a9aab8990d3
|
||||
MISC ChangeLog 5466 SHA256 13fb1f056b30e0091714a8bea4bc1f30a5e2ad5e34ac48f90c8b6c9f035835a0 SHA512 7c0571c0927d885096db882fc13f17b4db58fd7f44129b735f9bc5fdb75035619c71347154dced4ef8c7746122104f19cf7450c5e9e8624a34b80174e6f9e879 WHIRLPOOL f6a45bc754a8f61784e8af83ad647d1080fd76e89af97e385acd3bcef95ca53200cc3041f304390e62e4dd14720950fd5e922bea1f60ed245c0b943c4c44bb21
|
||||
MISC metadata.xml 214 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 SHA512 701b8c51f43f8660d40700929c243a2dae9f19dcbc7b8eca877e20eadc1ae2e0c84f7c7d8c3cb576055c1a49a55e9c759ef469eeda67026ce252d341937f6691 WHIRLPOOL 977119e736e0795137df14faae681f7fa07ba8297a19ef4a7d7b93de7efceaed16f7103f179a762be41b8849c33c535b55d16d2fd0ea795df0525592752e0156
|
||||
EBUILD libtar-1.2.20-r3.ebuild 1301 SHA256 47c44d4134f8facddd301c3da9ea4e8f33793642367b7889103d8a974eb868b5 SHA512 6bcb403ec074caf224f48f4ba29eb2a963636d25eb67d91c3661f70b2a8e5416696a78d18d2477d7785f61a3572885baa723f90bf358cd59822093efbe262a63 WHIRLPOOL aacf3c2a505414fa9565f0c897c05648ffeeda14f7b7240776dce3fbb901b4d3b830025dc18803f1412fdc5a753ab8874b4b1038e9291aa515c62c24d8c29a47
|
||||
MISC ChangeLog 5816 SHA256 75e88a4989ea127af762dac9c93d68aec455c997c68ad6cd9dfdd5f2393e3727 SHA512 0e3fe8394aeaffe032c8ba6e83c9a3628f872036d53b4e283c95f9651919d8a9e19c51472d9111f9282ec50c428c9803c383dcbf91c912bd5b802f05057b31b9 WHIRLPOOL c83d85046c40e8f7dc22ace467c54a5dc55a91c9eef90222800b3dc0d2741f72beff3b545aadd72707054535b9f58cd4227f8b0f6b4bf14848319c92ac77de45
|
||||
MISC metadata.xml 388 SHA256 0721cc1c85ba4887388c0339704b4fd1c9fd115d556d1805dfc6021eb4ab2921 SHA512 3449d13ea1030f4d074468d302a8c90805fd27fdcea10d25e189eedb5ce5bd0fc2cae27c9176cf479f96b57ea42ecd8d902da0f6bda30a85bfdc8392ce8149b9 WHIRLPOOL 717871400ccbad2f217ab1040520f83d4645ead7723d4df31fc76f55d91fa2273d19a11dc387184c7c2e205a519919dde9234784dbe43e5508bc77dcaa219ba5
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
Version: GnuPG v2.1
|
||||
|
||||
iJwEAQEIAAYFAlMGYkoACgkQG9wOWsQutdaddAQA2v88OO236hfPKHbo1syX4Lj9
|
||||
7BDfLXJvYYow5UvM4fvIHI6JDCyBjbL2NRErhDeIBqW4Ot9daz4dI1DiyaLLt9lk
|
||||
o/dkn3vPL1yBNrwG4MB0hgJNkyyuMGdfgIm6FbIBQmRkem4IUk4BTF/icn4DchDg
|
||||
BLBOhrw3KhMwKaKqDbA=
|
||||
=tRqN
|
||||
iKYEAREIAGYFAlWt2llfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
|
||||
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDdDQUM1OUY0ODkzMERBREU1NUQ1RjJBRkIy
|
||||
OEVDMjEzQjgwNzJCMEQACgkQso7CE7gHKw3y8wCgzYoFAohFYhkpiWJFGn7JgREE
|
||||
YJQAoMkOctROQgk8O9CbW8CPMCnzB8px
|
||||
=1qW/
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,94 @@
|
||||
--- a/libtar/lib/decode.c 2013-10-09 09:59:44.000000000 -0700
|
||||
+++ b/libtar/lib/decode.c 2015-07-20 20:57:58.331945962 -0700
|
||||
@@ -21,24 +21,55 @@
|
||||
# include <string.h>
|
||||
#endif
|
||||
|
||||
+char *
|
||||
+safer_name_suffix (char const *file_name)
|
||||
+{
|
||||
+ char const *p, *t;
|
||||
+ p = t = file_name;
|
||||
+ while (*p)
|
||||
+ {
|
||||
+ if (p[0] == '.' && p[0] == p[1] && p[2] == '/')
|
||||
+ {
|
||||
+ p += 3;
|
||||
+ t = p;
|
||||
+ }
|
||||
+ /* advance pointer past the next slash */
|
||||
+ while (*p && (p++)[0] != '/');
|
||||
+ }
|
||||
+
|
||||
+ if (!*t)
|
||||
+ {
|
||||
+ t = ".";
|
||||
+ }
|
||||
+
|
||||
+ if (t != file_name)
|
||||
+ {
|
||||
+ /* TODO: warn somehow that the path was modified */
|
||||
+ }
|
||||
+ return (char*)t;
|
||||
+}
|
||||
+
|
||||
|
||||
/* determine full path name */
|
||||
char *
|
||||
th_get_pathname(TAR *t)
|
||||
{
|
||||
static TLS_THREAD char filename[MAXPATHLEN];
|
||||
+ char *safer_name;
|
||||
|
||||
if (t->th_buf.gnu_longname)
|
||||
- return t->th_buf.gnu_longname;
|
||||
+ return safer_name_suffix(t->th_buf.gnu_longname);
|
||||
+
|
||||
+ safer_name = safer_name_suffix(t->th_buf.name);
|
||||
|
||||
if (t->th_buf.prefix[0] != '\0')
|
||||
{
|
||||
snprintf(filename, sizeof(filename), "%.155s/%.100s",
|
||||
- t->th_buf.prefix, t->th_buf.name);
|
||||
+ t->th_buf.prefix, safer_name);
|
||||
return filename;
|
||||
}
|
||||
|
||||
- snprintf(filename, sizeof(filename), "%.100s", t->th_buf.name);
|
||||
+ snprintf(filename, sizeof(filename), "%.100s", safer_name);
|
||||
return filename;
|
||||
}
|
||||
|
||||
--- a/libtar/lib/extract.c 2013-10-09 09:59:44.000000000 -0700
|
||||
+++ b/libtar/lib/extract.c 2015-07-20 21:00:16.560956122 -0700
|
||||
@@ -305,7 +305,7 @@
|
||||
linktgt = &lnp[strlen(lnp) + 1];
|
||||
}
|
||||
else
|
||||
- linktgt = th_get_linkname(t);
|
||||
+ linktgt = safer_name_suffix(th_get_linkname(t));
|
||||
|
||||
#ifdef DEBUG
|
||||
printf(" ==> extracting: %s (link to %s)\n", filename, linktgt);
|
||||
@@ -343,9 +343,9 @@
|
||||
|
||||
#ifdef DEBUG
|
||||
printf(" ==> extracting: %s (symlink to %s)\n",
|
||||
- filename, th_get_linkname(t));
|
||||
+ filename, safer_name_suffix(th_get_linkname(t)));
|
||||
#endif
|
||||
- if (symlink(th_get_linkname(t), filename) == -1)
|
||||
+ if (symlink(safer_name_suffix(th_get_linkname(t)), filename) == -1)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
perror("symlink()");
|
||||
--- a/libtar/lib/internal.h 2013-10-09 09:59:44.000000000 -0700
|
||||
+++ b/libtar/lib/internal.h 2015-07-20 21:00:51.258958673 -0700
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <libtar.h>
|
||||
|
||||
+char* safer_name_suffix(char const*);
|
||||
#ifdef TLS
|
||||
#define TLS_THREAD TLS
|
||||
#else
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtar/libtar-1.2.20-r3.ebuild,v 1.1 2015/07/21 05:36:23 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C library for manipulating tar archives"
|
||||
HOMEPAGE="http://www.feep.net/libtar/ http://repo.or.cz/w/libtar.git/"
|
||||
SRC_URI="http://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static-libs zlib"
|
||||
|
||||
RDEPEND="zlib? ( sys-libs/zlib )
|
||||
!zlib? ( app-arch/gzip )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.11-free.patch
|
||||
"${FILESDIR}"/${PN}-1.2.11-impl-dec.patch
|
||||
"${FILESDIR}"/CVE-2013-4420.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s:-s::' \
|
||||
{doc,lib{,tar}}/Makefile.in || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-encap
|
||||
--disable-epkg-install
|
||||
$(use_with zlib)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
dodoc ChangeLog* README TODO
|
||||
newdoc compat/README README.compat
|
||||
newdoc compat/TODO TODO.compat
|
||||
newdoc listhash/TODO TODO.listhash
|
||||
}
|
@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>sdnick484@gmail.com</email>
|
||||
<name>Nick Andrade</name>
|
||||
<description>Active Maintainer, Assign bugs</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,89 @@
|
||||
--- test/lib/axiom/test/test_query.py.orig 2015-07-21 10:15:57.441000000 +0000
|
||||
+++ test/lib/axiom/test/test_query.py 2015-07-21 10:16:36.356000000 +0000
|
||||
@@ -1043,46 +1043,46 @@
|
||||
SecondType(store=self.store)
|
||||
|
||||
|
||||
- def test_firstTableOuterLoop(self):
|
||||
- """
|
||||
- Test that in a two table query, the table which appears first in the
|
||||
- result of the getInvolvedTables method of the comparison used is the
|
||||
- one which the outer join loop iterates over.
|
||||
-
|
||||
- Test this by inserting rows into the first table and checking that the
|
||||
- number of bytecodes executed increased.
|
||||
- """
|
||||
- counter = QueryCounter(self.store)
|
||||
- counts = []
|
||||
- for c in range(10):
|
||||
- counts.append(counter.measure(list, self.query))
|
||||
- FirstType(store=self.store)
|
||||
-
|
||||
- # Make sure they're not all the same
|
||||
- self.assertEqual(len(set(counts)), len(counts))
|
||||
-
|
||||
- # Make sure they're increasing
|
||||
- self.assertEqual(counts, sorted(counts))
|
||||
-
|
||||
-
|
||||
- def test_secondTableInnerLoop(self):
|
||||
- """
|
||||
- Like L{test_firstTableOuterLoop} but for the second table being
|
||||
- iterated over by the inner loop.
|
||||
-
|
||||
- This creates more rows in the second table while still performing a
|
||||
- query for which no rows in the first table satisfy the WHERE
|
||||
- condition. This should mean that rows from the second table are
|
||||
- never examined.
|
||||
- """
|
||||
- counter = QueryCounter(self.store)
|
||||
- count = None
|
||||
- for i in range(10):
|
||||
- c = counter.measure(list, self.query)
|
||||
- if count is None:
|
||||
- count = c
|
||||
- self.assertEqual(count, c)
|
||||
- SecondType(store=self.store)
|
||||
+ #def test_firstTableOuterLoop(self):
|
||||
+ # """
|
||||
+ # Test that in a two table query, the table which appears first in the
|
||||
+ # result of the getInvolvedTables method of the comparison used is the
|
||||
+ # one which the outer join loop iterates over.
|
||||
+
|
||||
+ # Test this by inserting rows into the first table and checking that the
|
||||
+ # number of bytecodes executed increased.
|
||||
+ # """
|
||||
+ # counter = QueryCounter(self.store)
|
||||
+ # counts = []
|
||||
+ # for c in range(10):
|
||||
+ # counts.append(counter.measure(list, self.query))
|
||||
+ # FirstType(store=self.store)
|
||||
+
|
||||
+ # # Make sure they're not all the same
|
||||
+ # self.assertEqual(len(set(counts)), len(counts))
|
||||
+
|
||||
+ # # Make sure they're increasing
|
||||
+ # self.assertEqual(counts, sorted(counts))
|
||||
+
|
||||
+
|
||||
+ #def test_secondTableInnerLoop(self):
|
||||
+ # """
|
||||
+ # Like L{test_firstTableOuterLoop} but for the second table being
|
||||
+ # iterated over by the inner loop.
|
||||
+
|
||||
+ # This creates more rows in the second table while still performing a
|
||||
+ # query for which no rows in the first table satisfy the WHERE
|
||||
+ # condition. This should mean that rows from the second table are
|
||||
+ # never examined.
|
||||
+ # """
|
||||
+ # counter = QueryCounter(self.store)
|
||||
+ # count = None
|
||||
+ # for i in range(10):
|
||||
+ # c = counter.measure(list, self.query)
|
||||
+ # if count is None:
|
||||
+ # count = c
|
||||
+ # self.assertEqual(count, c)
|
||||
+ # SecondType(store=self.store)
|
||||
|
||||
|
||||
class AndOrQueries(QueryingTestCase):
|
@ -0,0 +1,39 @@
|
||||
--- lib/BeautifulSoupTests.py.orig 2015-07-21 08:39:33.077000000 +0000
|
||||
+++ lib/BeautifulSoupTests.py 2015-07-21 08:41:19.285000000 +0000
|
||||
@@ -538,13 +538,13 @@
|
||||
text = "<td nowrap>foo</td>"
|
||||
self.assertSoupEquals(text, text)
|
||||
|
||||
- def testCData(self):
|
||||
- xml = "<root>foo<![CDATA[foobar]]>bar</root>"
|
||||
- self.assertSoupEquals(xml, xml)
|
||||
- r = re.compile("foo.*bar")
|
||||
- soup = BeautifulSoup(xml)
|
||||
- self.assertEquals(soup.find(text=r).string, "foobar")
|
||||
- self.assertEquals(soup.find(text=r).__class__, CData)
|
||||
+ #def testCData(self):
|
||||
+ # xml = "<root>foo<![CDATA[foobar]]>bar</root>"
|
||||
+ # self.assertSoupEquals(xml, xml)
|
||||
+ # r = re.compile("foo.*bar")
|
||||
+ # soup = BeautifulSoup(xml)
|
||||
+ # self.assertEquals(soup.find(text=r).string, "foobar")
|
||||
+ # self.assertEquals(soup.find(text=r).__class__, CData)
|
||||
|
||||
def testComments(self):
|
||||
xml = "foo<!--foobar-->baz"
|
||||
@@ -607,11 +607,11 @@
|
||||
def testWhitespaceInDeclaration(self):
|
||||
self.assertSoupEquals('<! DOCTYPE>', '<!DOCTYPE>')
|
||||
|
||||
- def testJunkInDeclaration(self):
|
||||
- self.assertSoupEquals('<! Foo = -8>a', '<!Foo = -8>a')
|
||||
+ #def testJunkInDeclaration(self):
|
||||
+ # self.assertSoupEquals('<! Foo = -8>a', '<!Foo = -8>a')
|
||||
|
||||
- def testIncompleteDeclaration(self):
|
||||
- self.assertSoupEquals('a<!b <p>c')
|
||||
+ #def testIncompleteDeclaration(self):
|
||||
+ # self.assertSoupEquals('a<!b <p>c')
|
||||
|
||||
def testEntityReplacement(self):
|
||||
self.assertSoupEquals('<b>hello there</b>')
|
@ -1,36 +0,0 @@
|
||||
# ChangeLog for dev-python/gevent-zeromq
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent-zeromq/ChangeLog,v 1.9 2015/06/03 19:34:08 jlec Exp $
|
||||
|
||||
03 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||
Add pypi to remote-id in metadata.xml
|
||||
|
||||
08 Apr 2015; Michał Górny <mgorny@gentoo.org> gevent-zeromq-0.2.5-r1.ebuild:
|
||||
Drop old Python implementations
|
||||
|
||||
08 Mar 2015; Pacho Ramos <pacho@gentoo.org> gevent-zeromq-0.2.5-r1.ebuild:
|
||||
x86 stable, bug 540290
|
||||
|
||||
06 Mar 2015; Pacho Ramos <pacho@gentoo.org> gevent-zeromq-0.2.5-r1.ebuild:
|
||||
amd64 stable, bug 540290
|
||||
|
||||
26 Oct 2014; Ian Delaney <idella4@gentoo.org> -gevent-zeromq-0.2.5.ebuild:
|
||||
rm old
|
||||
|
||||
11 Apr 2014; Ian Delaney <idella4@gentoo.org> gevent-zeromq-0.2.5-r1.ebuild:
|
||||
set dep pyzmq to required version, thx to report in Bug #507296 by W. King
|
||||
|
||||
*gevent-zeromq-0.2.5-r1 (24 Dec 2013)
|
||||
|
||||
24 Dec 2013; Justin Lecher <jlec@gentoo.org> +gevent-zeromq-0.2.5-r1.ebuild,
|
||||
metadata.xml:
|
||||
Bump to EAPI=5 and distutils-r1.eclass
|
||||
|
||||
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
|
||||
Add proxy-maintainers to metadata.xml
|
||||
|
||||
*gevent-zeromq-0.2.5 (27 Aug 2012)
|
||||
|
||||
27 Aug 2012; Ultrabug <ultrabug@gentoo.org> +gevent-zeromq-0.2.5.ebuild,
|
||||
+metadata.xml:
|
||||
Initial import from ultrabug overlay.
|
@ -1,26 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST gevent_zeromq-0.2.5.tar.gz 5901 SHA256 4c479568e8fbc92260e06d2f9042c9888d1d42e90ef52673a65288f19394f669 SHA512 c7bbeae927e078b9833d6e9b265a11dfd93e27261491c54c1a28ce7d0a87be15a4fc002732f816bce08f47a997a89dd42289501d6bd1d380d4cbfb198c1c763d WHIRLPOOL 2190f24ae9bb026f032805dc5f5867a09b96c816379e8bd428dcb0f107fe7380192a05232ebfac236ab820c53d2d6bd291bb3ccd544fdf78399011ebeb99c9c6
|
||||
EBUILD gevent-zeromq-0.2.5-r1.ebuild 741 SHA256 30b459df67d01e2d12545251a77fed84f0f7a481744a60647e422ff691677ad7 SHA512 e667816d5c801be91b164476774c782ac27b014c9dc93c9f36aa829b7a270c7aaee832a50cab6e9e64316630f77f7c9331ed2912a603a03d90b995205fb42599 WHIRLPOOL c37c4c8cc27a99c9855dddf08110a5961cc194a760d02ae82b426054757f75d00ca8e99edb91bf4f7c3cf03f85baea70b9ac850ef93dda03d1e59bab5b1ae15f
|
||||
MISC ChangeLog 1341 SHA256 79fd95b513b087aff6df07f64de53cbd0a9cda754c2865bef54f30cf397e9ef4 SHA512 f026f691eaa278df445b2575ac59c0822299a5762153ecd913e9502fde7a44e753b4fcd0ae57efe36c617b023f48aff0a3831dafc8ebf39809ee30bc194f2912 WHIRLPOOL 2f8f034bd60c7ac99376e1b0c509d1ac23a17ed06c8919140282baf4199406ccea55702190c653cb6e088f1eefea31e42396ae3ef4c4c556e4f4bdf42170405e
|
||||
MISC metadata.xml 644 SHA256 6d25743f1a974adbb8d088dfb3fa536148affb01240b18d5d0b854b4f04b74c8 SHA512 19cc64a886a02f714fbd67fddf8bcd7a89cd311fc6b0b271904a3791c6c3e4264799c2eea342873eff2372b22868173b4a7b9e19b1be3e0ba7f2248f4a2b06ed WHIRLPOOL 4f40b4c377d694f509253966cc31a55777e27fde26b1f8806e46cf45497e5c5b49cf6b1915245d5d55b7f4d83acb2cc0ae6d28d9f35e1ff1ba97bf3d4d386eb9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJVb1axXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
|
||||
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiGbkP/iqhoKblXW6uTnGaYQaQZ5+Z
|
||||
hO1d50tQrtkoBfI/52IYrnpxIcnqZ4gqP6mLGeTitcXkePX5rD75C65nA93OgC1H
|
||||
rgxMDpG7CawUJKtzIEfiOaF0zz/DSOjeDh7InL9razFA/SxTOQ+l02TxRS05TzaB
|
||||
pTAV1O+3bIcTzX/vdlQ0V6UBlATfV5k30rZAZYhYT/+w41hhjoko4p4xSfTHJb6Q
|
||||
qhDFMVU4NHA0nr3sXeGiIBOrG6XTfBZLUk1c/uD4bNVLSdaSlmObchebAkz8TyqV
|
||||
HDgqntXu78FBIEy6gZlEgFTBMV1iMgjbsGAIOeByr6BzOFBMyUCYu6O5pas4WxOT
|
||||
SNkcYjcYe29Cmbxdu+pCFT5PkF68vVUiMDwrK3A8Ffy+FJOJUPf5d+DdgIbDrSVs
|
||||
/UPZjm1A1qbCcWB0oTRSq4jeuqCDEn7qXEROd8TdaVqXV6jvPlnyjp6nqSmRzI9x
|
||||
FaETfDq+UDOhagsQcQgKucER5eL39KDX+nmw5TI/dvYmmswPMD7ixYWKImiETRq6
|
||||
i9P8+NdB/3iztr5hqjjsqwJL+Aa0G/flc0LhDMxy/O6ih1YrM3IAkYa8UTz9807P
|
||||
JRxLI5BK0mhU7+x9iMr2K0/AXzY+PnKQ8StVl8K0WmEJiQ7mmdyCP/C7nmeraFjc
|
||||
5iKRmPYJoeVRZoi3elmk
|
||||
=l3s6
|
||||
-----END PGP SIGNATURE-----
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent-zeromq/gevent-zeromq-0.2.5-r1.ebuild,v 1.5 2015/04/08 08:05:28 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="gevent_zeromq"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
|
||||
DESCRIPTION="Gevent compatibility layer for pyzmq"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/gevent_zeromq/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="~dev-python/pyzmq-2.2.0.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>ultrabug@gentoo.org</email>
|
||||
<name>Ultrabug</name>
|
||||
<description>main maintainer</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>julien@thebault.co</email>
|
||||
<name>Lujeni</name>
|
||||
<description>Proxy Maintainer. CC on bugs</description>
|
||||
</maintainer>
|
||||
<longdescription>Gevent compatibility layer for pyzmq</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">gevent_zeromq</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsmin/jsmin-2.1.2.ebuild,v 1.1 2015/07/21 07:57:23 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="JavaScript minifier"
|
||||
HOMEPAGE="https://bitbucket.org/dcs/jsmin/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m ${PN}.test || die
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST PyLTXML-1.3.tar.gz 27550 SHA256 4bd7a726667e48fc604bb471d775c0c42cb62a1aa77b01aa9a761012fab052f2 SHA512 0221557ec2a4311b346031a6059a7776ec30b9c34fe78e59a0e4f236931b3ab2268ed28de93429fe66f38fc855b6368eab990d5d977bca03bb4b0882136c0c1c WHIRLPOOL 6fc5ef5fba42e0b6e0ccea7424fe142c5784a488c4a171571fdc4434b28e74d9261b31a321ad7502d223c91e10f2a5d937e88d25bbd1a2d66812ddbe2a634231
|
||||
EBUILD pyltxml-1.3-r1.ebuild 878 SHA256 b38c63bfd3a317c791878d501605990a43136c5c703f5c2235e63e6088ebd3fa SHA512 9b12cf033920cb3ea51563cb1a1d29d0e9d0a2bfa2d553f735a2e63ea08bff341faf746f0ff27c42ef5641a321ebde180c5c28cf562cdcf3177ba3beac2dd975 WHIRLPOOL 2f280b90ecf945197867c743e106e869335fa4351801df6116261c36e844fd331189e02cb1d9acfcc626de203436321112abee15a00f08173cff22a8640653d3
|
||||
EBUILD pyltxml-1.3-r2.ebuild 896 SHA256 defd2ba4407bee4fd4257ea5b68b679fcc125386964cbd29588302122eb8158c SHA512 c525257eb5a7078698fa946cfb17b4e2645e4fd03e52d0e89a2def37f27fd42f844c128d1b5c0681f708cf7baa847273e72f24248127b6ce960b4710be6959f2 WHIRLPOOL dc4e8406f39d86bfa9e50c22f384583a4dca703e9e251d9f7e5531cf3831b56767d0b2497b86fb12ca6c7698e705fc2dfed0a0dfceb1a5d795fc4f6a0eec1b3f
|
||||
MISC ChangeLog 1252 SHA256 47bb92cb13d09d71bd315fb3f98e302c1d72a7fae95b25f34c4eb328e61aaf56 SHA512 4b0dd95ff7ced89e3db795baa1cbfbf5824666bb1b3c194f9aaeca9da6f23578654267c3034808747567c2f1544a835e2df78ecbad6126cca3eb196628cba86c WHIRLPOOL fa6fefbbeb77cfdbb66f4be535cc51557b9ac3688c5bf08d67e3ba280857a445e2dc83aa6b6ebc12ecb63b6e3937e7e1762fbae723b1771f74c7eec860951c2e
|
||||
MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cinderclient/python-cinderclient-1.2.1-r1.ebuild,v 1.1 2015/07/21 02:04:54 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Cinder API"
|
||||
HOMEPAGE="https://launchpad.net/python-cinderclient"
|
||||
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.8[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${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/tempest-lib-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND=">=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/^argparse/d' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run --parallel || die "tests failed under python2.7"
|
||||
flake8 cinderclient/tests || die "run by flake8 over tests folder yielded error"
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.19.0-r1.ebuild,v 1.1 2015/07/21 02:08:45 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Glance API"
|
||||
HOMEPAGE="https://github.com/openstack/python-glanceclient"
|
||||
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="doc test"
|
||||
REQUIRED_USE="test? ( doc )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${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/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-lib-0.5.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/oslo-sphinx-2.5.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}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/pbr-0.11[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/warlock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/warlock-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
|
||||
sed -i '/^argparse/d' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "testsuite failed under python2.7"
|
||||
flake8 tests && einfo "run flake8 over tests folder passed" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.6.0-r1.ebuild,v 1.1 2015/07/21 02:11:48 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Client Library for OpenStack Identity"
|
||||
HOMEPAGE="http://www.openstack.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
# Note: blacklist version not in portage:
|
||||
#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
|
||||
|
||||
TCDEPEND="
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-lib-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.11[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-2.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.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}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
sed -i '/^argparse/d' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/stevedore/stevedore-1.6.0.ebuild,v 1.3 2015/07/21 07:57:24 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage dynamic plugins for Python applications"
|
||||
HOMEPAGE="https://github.com/openstack/stevedore https://pypi.python.org/pypi/stevedore"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/pillow-2.4.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.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# Delete spurious data in requirements.txt
|
||||
sed -e '/pbr<2.0,/d' -e '/argparse/d' \
|
||||
-i requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py testr
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX visual-5.74-boost-1.50.patch 860 SHA256 3b910d73e0df7b015640090c31362484e039e6644bc551c10d3879f80c4d3c6e SHA512 cbfc6596431cc402e1d5cb767b663856b540bf378aac3f5680f310391f8704852331927f607fcb78c5b7ea2e9dcbcd77e8e0bd007a5332be0484675eb67d1b31 WHIRLPOOL 119a3777fd4e6a5860d58a9b53827978aea662631e93f998bb196c567a90ebf07c6dcd669aaec35d64e91c8a57fa066e8dae289a1d72a56ab766513888f932e3
|
||||
DIST visual-5.74_release.tar.bz2 5736404 SHA256 1e480d3fd82e8172021ae0e22e8e2859f44bec9297e12ebf672270fd8e7d7099 SHA512 eff43bae66d4ca6a1b540e729b5f03e7310db8d4c49ba7a1ac271afa62688d9024f4f00b7678669433ca3f0f6e13e6c0c3de90a4a845ae5eeaa70b536a6e1193 WHIRLPOOL d0c35354e8fcaf591870dce867e60a9b54a9eb31acdd6eb05331566c031bf0a7da794e7f9dc8e013eff10583eadccefda08ef79443761129d9ca56f05626acd8
|
||||
DIST visual-6.11.tgz 14563683 SHA256 decfdb3112d24e29b5f6cb47f1ba9c2324520fa83bb34345179179eb572e1776 SHA512 70398f5d99b8a89526d2c31578016531560869187fb988b093bdb5571cdb3b150835b69c3f5553a51818595b61e9a5a0d4cc2a8cf1d7f187c174264e8bf63a44 WHIRLPOOL fac60529e00401ac310e8b149d91faa5ab5ef703d9869a5a2f8d12138d74dab119432ae71569dd5f74fe4bd14500791986f1865c150838acf315b80bd36c0c61
|
||||
EBUILD visual-5.74.ebuild 2186 SHA256 7c9c37a3c4cd54b8e3185413aa35cadb7b115bc3b560d7369d12858d37644575 SHA512 cfa2605fed1fa98b2be49ddbf17639941d5e8052372cd9f9cc62803c112c746b3de9c48df61a99c895f608c7d76e0d29be414335f389b52cfea59b0bb01ff71c WHIRLPOOL 14540296cbc3aa12bb3b563fd80f483bf51199da8315a204d3b66653b59113a78afe93a0488914f0c887cb2b3354b524140ae7bac482dcbe5ce1616266ae7593
|
||||
EBUILD visual-6.11.ebuild 2349 SHA256 84e8f0604b99b9160416264bcfa08d2945eaa3f3b1c87c1fb91cb197ca414f7b SHA512 119fad05e4b4170a4e8675140f05ffb2d79aae81307415a61e58ca1c0e463ed13e23e22c9e07d352fcb728e95557139985e62025f03240702794acf87ad672ce WHIRLPOOL e934819168ad9f85d40e386126c40b3ae24b2b5b53e7c0cfa8a0175e5de9f1f3f2d585807e00d606460c6d3d06a0536029123d28c8ca6a1f65aceffa853f266d
|
||||
MISC ChangeLog 9133 SHA256 df35f1e6381b7feae9555e50087ec9bfad9a57729a138f07f2f4dbf26ce8eb7f SHA512 1ac20d7c232c916ed3db058755f4d6dec84ebadb4df4ed8dfb4cc708d6b4f6b3500b8ccdfb339be83795053077e31d01b09407723e04891dc3a70a8dcd1c8a66 WHIRLPOOL 8d50e48ec91748ac952a89edadcf706ed4aee330133f4fd1d167cfa2516e69bd1ea5ac28b1e2fa95c0e53305849f700f940d22019e810c7be7486b3d0b01a206
|
||||
MISC metadata.xml 161 SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e SHA512 b306d222517e4eae525f6a79634f26eff2068f85911b7904c52c485a004d1d5401300808da67f9a1e3f102d65aebd1e0d21cd18145ea0bfec156f2aa3785b104 WHIRLPOOL f9c8e8d23bde25f4b14031f83dcc09e8437fdbcbb27199c1e9d8109fb2ccc7589cabf8240256dbbe6e080d04d2c444d115c66f82fc9b479e1e70d1ef0fe60fe2
|
||||
|
@ -1,18 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST httparty-0.13.3.gem 75776 SHA256 71d5b4f03bf5e16168a300c53286d3e3fb2c5caa9386f486d4fc78d7c02d8f38 SHA512 9a31a92504a795fa88064b8ab6b4b00666ba138b50e8bbb6cedf56d3073be990422acfa8781efc0dea274ca8a78ee902a86a777c0f7cbacaeea2713267acd76d WHIRLPOOL 12990ca45c939d2860878f8a859aa4bd1e37982e2dbcb77a50a9646232ab43602a21551c120115f94af60461ad2ab37ab0ab49e8cd40f61a7dd0ce13fbef325b
|
||||
DIST httparty-0.13.4.gem 78848 SHA256 5dea492ff272e8417fc89730c5166944d0a4b41293d7344c1a0de9e804ef9cde SHA512 7f544c3df689e413bfa47798ccc9bea295d00c084ed15da32f105e68ae40bc12c49f3e90e4cde0d147037a94f88f4130143d164e3afd3a069fa8e7b8bb2f8265 WHIRLPOOL e7ac75dce16b3b5e558d58b9519f8fb617265c883e60f780a9abb0c6e31983685990a9b589287fd3cf128be29ee26f70fe305385443487beb3c9d2d1ff93d589
|
||||
DIST httparty-0.13.5.gem 78848 SHA256 c9b9a31d80af2e5bc5e2a7c37efc5d8aad4c8d9c58b82f18e4ff37cfef7223d5 SHA512 d8408ea085d71d1a3b80519834173618e283c806ecef25f0a2c6029eee23a0f8e07218ac018dbb884a78e9b0e4e91bad11228112811cefb39e2b8a517fce1880 WHIRLPOOL e7b7b8d299ef4d1cb4dd45189044dbdfa357159f01f9743f35664d1820c9309fac96d6e803ed9bd09f626e5411438ff310dfe3c0bc4803973c53c1808a13e4a3
|
||||
EBUILD httparty-0.13.3.ebuild 1205 SHA256 d066b287fdcafba7397e93652fc4ff5061e2b04c40a0bf3389dea22184edad9c SHA512 d7af31b4505e66df3b40f8c0f0d60c5a6b4d7f4a8d89a4efe373e5e3c9850785c493afb6765268311381684846cd243a53da716e010c3e948cfb6b33fe8f126f WHIRLPOOL e2ce99357cb0f087bcda0708d5d6a6c713bcc9160f111da45892ac1db10de35833b44a8dbceea0bfccdb9548671e0829556ccc29412f69c37bc9bc4b3f2b3166
|
||||
EBUILD httparty-0.13.4.ebuild 1210 SHA256 4039edea9810b5a0497fbaec0d8f74a3121b8a2d65fe090d95c92fb9cf135857 SHA512 89f56ae9320ca27e97f6f1ba4ce740a27cb2fc658d10cd23b79a74f55632931ac824bdad5957e1d2e51ce4fbbd22e9e15248c5a959d3f47e7e625b7b3bfa822c WHIRLPOOL 755f8e7b13d7bc80c61c5a21b05368affd007dc6f2575563dfdd86f2356e985830a966938b33320c12f73178dff62d3a5c8c42dddd2228ef482a5fd320a3b9e1
|
||||
EBUILD httparty-0.13.5.ebuild 1210 SHA256 c01d7378c3bac621f84de85247b515240d998a1b8e8a59a4d049a3af6920e2a2 SHA512 913b46c750af205edf4bb35c6fd044a32988b612225aea0f995aa9c08e770e4cd0a814ef590300f940bd2e37591420073d0fbeb660d71caf57f44e23912476c1 WHIRLPOOL 9bd59cea696bd7e68b393c48a9c0c7e3ad65747601235d506482b09b64ed0061fb842c51b24ff85bf5a4a5b1b463f0635451f4d44795ec1499b14c5c1012dc32
|
||||
MISC ChangeLog 5155 SHA256 1a3b86c104a82f3f31df8ee509e1b2c745ba323a05d96f9a240f210cfdcbacae SHA512 0a37f16f48b42c5f20537965d9ecbb19594c867df461fc766552e135fbfa448a8429cd9eb0e3de11ecfb190d2f1ff12f045210c5e63e003a3e769e3f1683d230 WHIRLPOOL 47d601a55091c53209472eab9cf29295c122b02d689ffb0b77bfba403226209623f3cd29326ce03be8ce57db2c98de519ab5232eb5fe726f51481ee4186804da
|
||||
MISC ChangeLog 5242 SHA256 5baf193c2b08436c0bdebe1f9ef19ccfe001dc935e945be76c70d801e3b91b06 SHA512 d8ef3c1cdc1081b78fd4cb10af79bc2effe7695999ace4ac6f88adaec6cfd423546a6dfd0c36ed4a66c1cf7d9cd0b036127267418b498cd48728a663b6dada43 WHIRLPOOL d4f4cacbe2b7dc9aa5afdbc0757458791bbaae15c6af3f6c6e9e4fda5914a0f212c3353ca9b92ffcaf8fea611dda595d527d9e13a6f819845c737e581c531de7
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iF4EAREIAAYFAlVqoEAACgkQiIP6VqMIqNf83gD9Gd+8vxZ1YZ5aRDlNisw2zfzt
|
||||
wJ/eS+0txhF5wQrjJuwBAJH86u76jgmYBViGwdHTIxJDyPMHvpdzXuSScvr1sb4c
|
||||
=rcwJ
|
||||
iF4EAREIAAYFAlWt0qUACgkQiIP6VqMIqNfWWAEAixGOWdFphhYsyYjqySqbzxR6
|
||||
ytdaFYn3EXCLiQcFHSIBAIQf3GBUKGEdBLsgUbf/03jQauo/RCzvAO9lbRNGZanA
|
||||
=ppLJ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/httparty-0.13.3.ebuild,v 1.2 2015/04/18 06:27:24 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# We have a custom test function, but don't null this out so that the
|
||||
# deps are still added
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md History"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy"
|
||||
HOMEPAGE="http://httparty.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '=dev-ruby/multi_json-1* >=dev-ruby/multi_xml-0.5.2'
|
||||
|
||||
ruby_add_bdepend 'dev-ruby/rspec:0 dev-ruby/fakeweb'
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
|
||||
|
||||
# Avoid test dependency on cucumber. We can't run the features since
|
||||
# they depend on mongrel which is no longer packaged.
|
||||
sed -i -e '/cucumber/I s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rake spec || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/liquid/liquid-3.0.4.ebuild,v 1.1 2015/07/20 19:36:38 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Template engine for Ruby"
|
||||
HOMEPAGE="http://www.liquidmarkup.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest
|
||||
dev-ruby/spy )"
|
@ -1,26 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST ruby_feedparser_0.9.3.tar.gz 2504432 SHA256 362b2d43f79e36bf2f42fbe8a9c3b48599fd11cd1730f2f3eea5716502fed6ac SHA512 832952503d330387f74e9b12c23144e40963b909df7f11cc4968466b0222bb5313c53f254a870ebc3e9f66d1d999c60e468ac58aa397e580a229fe43304dd865 WHIRLPOOL 9ff1f1fcc63310e608d046cfff56d62aae79ebc1ec0dc3e22695a400323337bcd9ae64e72b43916f579c7e82fd37e1e0962a34aaf7f02fa8614defb72aebcbda
|
||||
EBUILD ruby-feedparser-0.9.3.ebuild 815 SHA256 7784fc0b9cf5e665b4bb5743bceb10d215e1736fe775b4dbeae88744901a1190 SHA512 25cb29996488565e83ba3ff90d2e4256cf1761b8540d7cfc37f1c3408d29c7d0576474633afe8709da38016c5f0ecdb33dd7903d3ee92aab4f630a7ad3a055ba WHIRLPOOL 55ca28501013431ed31243791a22a6ed0d8770f511b6d414b1b3ddedcc3fff4176003aaa1b83c3b1db23ef844c4dae3e5c234666145734c892c3e338797f230e
|
||||
MISC ChangeLog 631 SHA256 d7edde2307a974623d7214e92d25cc2d913b359d6bd8ec371f862d1e43b3df05 SHA512 2891350dd5186c45d258883dd5b6ea53650fdd631e0e998dbbffd8a655eaffee6f7a37ae948de432af5bebaaebae22aae74f724b17a70cfd916fc364232e4973 WHIRLPOOL 4f5ef47e1caa2560932f3ef075fb058c2d9c52c58befa787a53f5a695368d3ff4c2eeae45dec88e1eef2207f6d7a66b590f27b54b6bcb9ff09517b6238a65f56
|
||||
EBUILD ruby-feedparser-0.9.3.ebuild 1048 SHA256 1983a39d15fd1f4ac5613a4231b7d559bc3276cb6c74b06c09d52decf90dce90 SHA512 df7050592282cb2e955afb43be35d964bfe5f4ba0bc7537c0393d1d8c836deae6cf76de02d0d831fddf977b2f568a1fbd8443b70f80b86cdcbf392634b8493ad WHIRLPOOL 61d784756510e6266b417f43170ecabfbc4a2239ac9e22e0fe7c3210e9c2e4fc47397ad71871a33a957d5f919cff9c8a5aa3c0075bdacfc6ace88f57e019ee3a
|
||||
MISC ChangeLog 757 SHA256 d6d54b982a55f625273d1afd52eca3bdf0866f9ac0f08a95c22931a3cf615a8c SHA512 14c91c6141bb03dca2e96344e3f81d94af69491bbc0ea871967f3ef8b926acbc4799351a00c2d408b3388fb62c7aa8bbd78422d8ff4fbb816e58fbe0d1680e37 WHIRLPOOL b901c25e1eea596d8402bdcd8186c350568126e97baa90f807beef0dd47b7a98fc92623c736efc315e386f80d3e1cc755c34b880d414ac4741183534b89fd710
|
||||
MISC metadata.xml 253 SHA256 65da606625eda9600e8462955d620347154c81ec7abbb0f3f4d33077ad2e2283 SHA512 82b5873ad49a85e1de38ebc18124dd027c9f23248658c60e4bad4a9aabc476e3e4006e50f3d958b374e633372825300ef8add19525bb809c2b1f455d3472c573 WHIRLPOOL cc2650ef5c387e816e6f3a848315f5a909e350e7b5a1f14b9001a65d6eda7967c49b7b72b22326b73a56763373c8242cff15c744c203401f86a6dd47b15e353a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCgBmBQJVdJzWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
|
||||
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSminz8P/jAOhW+zwpn3PenGr4NsQ78z
|
||||
tFbILD2PrYxh6yG7CM1A2boEAb98w/smW2G63uOKF4M1MMN+lnqZqXkwC4Oky2bi
|
||||
EjbgaF2hz7tY2JklPOvYwIfv5ou672tmZSQaP1kjRgTQN/gquOxF0Rc2K00eH6hw
|
||||
6ffUlxDcxUEC3H7J6SXPGnvwB/krTcfM5avKUyOmmHGsxqM8Gnlrd+xhijIxZ/QR
|
||||
V6lkm3hyqUItP7+6Ea8Tx7JOH/eZdRQ75iAh3JpDlOATV3yeaUsL5+l2WAfeZWDL
|
||||
vJDFoZntqtaNqDOmAvPVE6fM/znZlZ+pcCwWyVMSU5PJlyG/c4C/o5UptuTJmbrc
|
||||
Dp46VrlSeNtI9C0ueI2Q69UQ79ZehlZ6bjw0fKkObqn3JP40VghSPE6vCu2SEE6V
|
||||
Oxby4ZWrZR5vY1z9+X/e4hx/cGcno+ggdy5LGUczhE4SuAfEgV7y7p79ucPDKbia
|
||||
rNX312XcXvXjdjwFqRjF6TCX39lZY2zBhZ2AtVrPuUUt8fOvTQEJtqFi5enBs8TR
|
||||
0WosEly/JoaIMlF4qMdMbbn+XJDZn6UGcJrlE6JsV9Q5EYFtA0quM3itQBD91Xv6
|
||||
xesO5gp8u00nDZCtJ1gl7/Sb8NegYrU957NLQFQCRnpWROA6kfsodJqx8nSSQiGN
|
||||
5BP0jIbga2aJ4PXSFSeg
|
||||
=Igp9
|
||||
iF4EAREIAAYFAlWt0k8ACgkQiIP6VqMIqNdTfgD7BDLlHvFXY9wzKjJuJoSjTXfG
|
||||
ASqbmRy1d7oMm43ALHMA/jxyfDWjLFdLLSRYrAp37r7UAcwSUW/7+LUfq2nyK03e
|
||||
=/9R0
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue