parent
5f8ba9479b
commit
83bab03d15
@ -1,7 +1,2 @@
|
||||
DIST puppetdb-4.0.0.tar.gz 22121324 SHA256 e28d898e1912a43cb3f2555c5bacf4cb03d819579ad5c018b70b5f73af52fc33 SHA512 d2b06f470bb30ff7b6d6d02cd1d40ae6a9f1456baa7e15aac0ed51c6fae1f5b9b4c06d97896bd7c509302c8e26353d286c26e6a11fcb983ebf2569edf84bbf4d WHIRLPOOL c9c94cb9e2db49a3e0760a19ce7b714ee0e382087acba017a5392abbc3bd8ae12449aa7008dd4ab58cec18027fb6a5091b892d157c8562db0c1c6bed9993a31c
|
||||
DIST puppetdb-4.0.2.tar.gz 22131185 SHA256 7306f509f2caf642e37c0b8c1d67a07734a7912ae6ce0887c805d038e3d43fb6 SHA512 60594246df950f644cdc8d17da16685b15ab3b4838586820a1fd2a242aaa66a0320a1ffd8da445c7a071f8af15305ad711a588eb1ac5c0646a8bfed65e5b935f WHIRLPOOL 77406d20e62014f3e3ac4c688ffa9792b1590ea05b5a176aa4a36d34e7feeee74792d86350f74e4b4274015fe6e96dbc198f26bf016b8c10993621e507c0e9cd
|
||||
DIST puppetdb-4.1.0.tar.gz 22315267 SHA256 c06320f4befd5422308af38f44d76986c14b56cd1940705954b06754035e250c SHA512 a9d8fbaa3fa2cc7edb02058250144becc43be3841bd702600a584438f8c4ce58abdea466e75d00aea2ff04d1f17a183ef018cb42c4d1cb952c2f71e8ff389bd1 WHIRLPOOL f2c764c85e5ca33469413e551406e1112ff3e98112f372a3b5f8ad89c464dfa159d571e61dbd80839b59762b3549e64040a38668f45187a8fe3ed8fe98e8e59d
|
||||
DIST puppetdb-4.1.2.tar.gz 22313557 SHA256 d0752931e57ed7c524e4de2f0aa68aa13986db9aeb1a059782d65c063c028773 SHA512 fa53493ea0af7b2441de4572b836289346d0f8d7cd6b6fecabaccca6b21f6686dcee0dc1280c38001347b3e3214b11512ae402587385114c654a7c1a9bbfb670 WHIRLPOOL 8fee8fe966d8b848f8b6fbfc05f176313c32e3c0e112520571ee9eba98e6895732787d455ca70cf3cbe8d8ac8d8fbd34dc50c6b794b2d85b90b93bf62dd047b2
|
||||
DIST puppetdb-4.2.0.tar.gz 22410191 SHA256 cd5e62c826bb13fbfe5a5ceae24c41a1e8f7bb1bb33c191efa50ba010e82b52c SHA512 75391761d8d72edc33417bd0157191c38c5a1ef7db72ad39c1858c973d678e2455ba403737c94457c20199393c78d83da547d2e703025b5ae6c743f36d13a532 WHIRLPOOL 4ac8fe28b189b84174ae5221c7074fe2425f3d1d6e25fcc1cdc1f123e1eb60eccf98549d4a12442cb7578361c58c7b1b1ac791e452a39dae669a2dd38c4c158e
|
||||
DIST puppetdb-4.2.1.tar.gz 22408841 SHA256 3d9ee12a3713046d57b6b1eb8cfd36643037cb06ac7e9573f00490a40e337666 SHA512 93fd8fbfd0f142f9da761e54ee578be163ab9d8e70cf278c7e2c1b981a7bd03dd0aa9d1a6909d36ee2e5e1d42ab227984749e584b2c32083ba0ef36d23c607b2 WHIRLPOOL ae54f063352aa50ffe1431940cc8db69562fda62e23050532e8a0786905dfc5e0829862fced827961bd103a3bf3f3601c6fda556b31f93da42529b45d039c217
|
||||
DIST puppetdb-4.2.2.tar.gz 22423081 SHA256 21f02707e6c7a544e95897ffbb4bfa755cdeed04fbc75220b7e63b353e8f385a SHA512 fde6a37eef88dd484c7654935ba059be6ac0bc088b60c1689ce61f5fd89c0fa1eb898460b973f422f457fe8eeaed073e19d0d8420b7ac5075164d180dca690da WHIRLPOOL 3b84daffda9e64cd34d07c78c91a5f4bc41a3687fcfb1bcd90d7451520e0081fd37d5d6989d3534cc7c7f9f506f4a47847da3aaa9cfb82d027c67ceabde02208
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST gwaei-3.0.2.tar.gz 821533 SHA256 1b27df77b38ea30680b9a93de64a93bf71631fd780b9277709854f797115c1dd SHA512 241460d59d0d47d9638d4b90f904a77efc922331f4a0c2bb7aec712841aa8766b8ee3bb0ac9d536db2611aec4dfb8287166a0b19f92afea645c34e6d797a489e WHIRLPOOL 5421a8f69210b3db67c8493dac1cb43e14952d7680eb64e45439af32d69f3b189c4815cebe6ced6de394f43092090d8610958b6ad4ca8339e70ba7e1dd001f1c
|
||||
DIST gwaei-3.2.0.tar.gz 841824 SHA256 7267f2fba1ee76e6ef6bfd76206c15ac0f9cb6169d70a610a14529f9bb10aded SHA512 7ac34d371910abe724c873d1279fdce42747c31ad53111176c42e878e688111554423357c84abab3ff4d0e316d0b8757a7440a0980e89efb81c173eab79164a0 WHIRLPOOL 1d203691c54b4e1fc775de3fa765e70495b29598713beee64a2057c1f1b0c8be3b20b2ecd0e21906917b8dd4bb01b8930801d8bbd554e9b59c6a5c2159df4930
|
||||
DIST gwaei-3.6.2.tar.xz 547592 SHA256 9904e1755505f9a40cd7368e96e1eeb035c6c2f7ce14029cccb765f5b85986d7 SHA512 96876f7e15ff5e166dcd116e2286294b7b375e55723684e4e3dec31aba46d1c89ccd70007fc01cab97a5fd5e671ec073c3f69525ff7e68126851e587d4f20c3b WHIRLPOOL 9bec5d65af285291a7d916b3e5b75b6c36e438486b942ded402f59e9b59244578157917a5066828fd8e97f20372a02509dedd77d414f7744855fc63feabf8031
|
||||
|
@ -1,20 +0,0 @@
|
||||
Index: gwaei-3.0.2/src/waei/waei.c
|
||||
===================================================================
|
||||
--- gwaei-3.0.2.orig/src/waei/waei.c
|
||||
+++ gwaei-3.0.2/src/waei/waei.c
|
||||
@@ -195,6 +195,7 @@ int w_start_console (int argc, char* arg
|
||||
}
|
||||
|
||||
|
||||
+#ifdef WITH_NCURSES
|
||||
//!
|
||||
//! @brief Equivalent to the main function for many programs. This is what starts the program
|
||||
//! @param argc Your argc from your main function
|
||||
@@ -219,6 +220,7 @@ int w_start_ncurses (int argc, char* arg
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
+#endif
|
||||
|
||||
|
||||
int main (int argc, char *argv[])
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="Japanese-English Dictionary for GNOME"
|
||||
HOMEPAGE="http://gwaei.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk nls unique test ncurses"
|
||||
|
||||
RDEPEND=">=net-misc/curl-7.21.0
|
||||
>=dev-libs/glib-2.25.0:2
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
>=app-text/gnome-doc-utils-0.13.0
|
||||
unique? ( dev-libs/libunique:3 )
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses[unicode] )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( app-text/docbook-xml-dtd:4.1.2 )
|
||||
gtk? (
|
||||
>=app-text/gnome-doc-utils-0.13.0
|
||||
app-text/scrollkeeper
|
||||
)
|
||||
nls? ( >=sys-devel/gettext-0.17 )
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="unique? ( gtk )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-no-ncurses.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with gtk gnome) \
|
||||
$(use_with ncurses) \
|
||||
$(use_with unique libunique) \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
dodoc AUTHORS README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="Japanese-English Dictionary for GNOME"
|
||||
HOMEPAGE="http://gwaei.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk nls test"
|
||||
|
||||
RDEPEND=">=net-misc/curl-7.21.0
|
||||
>=dev-libs/glib-2.25.0:2
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
>=app-text/gnome-doc-utils-0.13.0
|
||||
)
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/scrollkeeper-dtd
|
||||
)
|
||||
gtk? (
|
||||
>=app-text/gnome-doc-utils-0.13.0
|
||||
)
|
||||
nls? ( >=sys-devel/gettext-0.17 )
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with gtk gnome) \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
dodoc AUTHORS README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gtk ; then
|
||||
gnome2_schemas_update
|
||||
fi
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
inherit autotools eutils python
|
||||
|
||||
MY_P="tomoe-gtk-${PV}"
|
||||
DESCRIPTION="Tomoe GTK+ interface widget library"
|
||||
HOMEPAGE="http://tomoe.sourceforge.jp/"
|
||||
SRC_URI="mirror://sourceforge/tomoe/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc +gucharmap python static-libs"
|
||||
|
||||
RDEPEND=">=app-i18n/tomoe-0.6.0[python?]
|
||||
python? (
|
||||
dev-python/pygtk:2
|
||||
dev-python/pygobject:2
|
||||
)
|
||||
gucharmap? ( gnome-extra/gucharmap:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
doc? ( >=dev-util/gtk-doc-1.4 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix compilation with gucharmap-2.24, bug #243160
|
||||
epatch "${FILESDIR}/${P}-gucharmap2.patch"
|
||||
epatch "${FILESDIR}/${P}-underlinking.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
#--with-python b0rked
|
||||
use python || myconf="${myconf} --without-python"
|
||||
|
||||
econf \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_with gucharmap) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if use python ; then
|
||||
find "${ED}$(python_get_sitedir)" \( -name "*.la" -o -name "*.a" \) -type f -delete || die
|
||||
fi
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools eutils python-single-r1
|
||||
|
||||
MY_P="tomoe-gtk-${PV}"
|
||||
DESCRIPTION="Tomoe GTK+ interface widget library"
|
||||
HOMEPAGE="http://tomoe.sourceforge.jp/"
|
||||
SRC_URI="mirror://sourceforge/tomoe/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +gucharmap python static-libs"
|
||||
|
||||
RDEPEND=">=app-i18n/tomoe-0.6.0
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=app-i18n/tomoe-0.6.0[python,${PYTHON_USEDEP}]
|
||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
gucharmap? ( gnome-extra/gucharmap:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
doc? ( >=dev-util/gtk-doc-1.4 )"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix compilation with gucharmap-2.24, bug #243160
|
||||
epatch "${FILESDIR}/${P}-gucharmap2.patch"
|
||||
epatch "${FILESDIR}/${P}-underlinking.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
#--with-python b0rked hard
|
||||
unset PYTHON
|
||||
use python || myconf="${myconf} --without-python"
|
||||
|
||||
econf \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_with gucharmap) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if use python ; then
|
||||
find "${D}$(python_get_sitedir)" \( -name "*.la" -o -name "*.a" \) -type f -delete || die
|
||||
fi
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Japanese input method Tomoe IMEngine for SCIM"
|
||||
HOMEPAGE="http://tomoe.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gucharmap"
|
||||
|
||||
RDEPEND=">=app-i18n/scim-1.2.0
|
||||
>=app-i18n/libtomoe-gtk-0.6.0[gucharmap=]
|
||||
gucharmap? ( >=gnome-extra/gucharmap-1.4 )
|
||||
>=x11-libs/gtk+-2.4:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.35.0"
|
||||
|
||||
src_prepare() {
|
||||
# Fix build with gcc-4.3, bug #
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
|
||||
# Fix build with gucharmap-2.24, bug #243160
|
||||
epatch "${FILESDIR}/${P}-gucharmap2.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Japanese input method Tomoe IMEngine for SCIM"
|
||||
HOMEPAGE="http://tomoe.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-i18n/scim-1.2.0
|
||||
>=app-i18n/libtomoe-gtk-0.6.0
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.35.0
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST evemu-2.1.0.tar.xz 502240 SHA256 0c87360882751356e9f977ebf7438c00fe97deb232ac725dd86e5ba78203ee97 SHA512 16ed613aa465d85f617a5dd6b958b0480c55477836effc86c293facdb500152d5b387a79f14802f2db6a3c721cc754cac2e8fc605f5e689962742b8fc361c81b WHIRLPOOL bc4e9631eebe6329d726adf853e8ef716246d70cf4f3ee50497bec6d654c8483c9291a40f532d488813d0c2568cd106e03a131cfa6aab86f037ad3ee1f0a8d18
|
||||
DIST evemu-2.2.0.tar.xz 492184 SHA256 e0f79808959d1b1f307a3d5add8ee9e5786d926e9aeb0045dadb85c7350d0a3c SHA512 638fa4962dae2aa88d70d1c30a244eab67ccc102af47a6de4b93f32b9f2b9d767d7f358efb71964c62f461e93c431bb679ad7019e2509f0cd4c02bd0e94a29d9 WHIRLPOOL 0f7cd045a8ad217a562fe640c5fc0f0bff890a725e1786741a5a412f24a866c997f18bf0dd404a804ed2e0718b85464797d21e1f8a3fdbee63216504d12ac09e
|
||||
DIST evemu-2.4.0.tar.xz 505848 SHA256 0706ea5a830203f9cdb30c0e10c8c41d2427128ba9041543a5ae157fa3b4a30e SHA512 e629a0eedb6ce58d3f088b279f45b87117b30b01af07e53dd5515ced7ea15293476fafe9aa9832e6758a6953ad7a462b0fae0a0996181eec327377176cf00c7a WHIRLPOOL ad909f5e074dfdd0d6c9f3660844024f94da587f97cf9181e5ab1232fe077c8df47cca045b598a472bbf6ec776c2cbf313908a800d95a539173770080fb388ce
|
||||
DIST evemu-2.5.0.tar.xz 506092 SHA256 541cc138f0215b7d0cd4ad5e6bb1402518ffc5e31294c36bb67b4ff1791bb27f SHA512 7de37aeaa122501783f4b658bd18353a6f413ff57ce1feec71e0eedd21eba3e479ff6ffb79dbb7658a337c824f4575915f13edcfdf8d2ce52a1fdbd41e1610be WHIRLPOOL 094294327d3226918ded20bd5e36d05abe78b3aa46f45bd777ae0442033911cfafd572fb4f92b7509037b4e264e016c0287234d6b16e17e81e9ea1a38c4298c8
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture, and replay"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Evemu/"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="python static-libs"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
>=dev-libs/libevdev-1.2.99.902"
|
||||
DEPEND="app-arch/xz-utils
|
||||
${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.2.0-install-man.patch )
|
||||
|
||||
src_prepare() {
|
||||
if ! use python ; then
|
||||
sed '/SUBDIRS/s/python//' -i Makefile.am || die
|
||||
fi
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
|
||||
ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
|
||||
else
|
||||
emake check
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
--- evemu-1.2.0/configure.ac
|
||||
+++ evemu-1.2.0/configure.ac
|
||||
@@ -39,9 +39,6 @@
|
||||
AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
|
||||
AC_PATH_PROG([ASCIIDOC], [asciidoc])
|
||||
AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"])
|
||||
-if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then
|
||||
- AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it])
|
||||
-fi
|
||||
|
||||
AC_SUBST(AM_CFLAGS,
|
||||
"-Wall -Wextra -pedantic")
|
||||
--- evemu-1.2.0/tools/Makefile.am
|
||||
+++ evemu-1.2.0/tools/Makefile.am
|
||||
@@ -15,8 +15,6 @@
|
||||
evemu_describe_SOURCES = evemu-record.c find_event_devices.c find_event_devices.h
|
||||
evemu_record_SOURCES = evemu-record.c find_event_devices.c find_event_devices.h
|
||||
|
||||
-# man page generation
|
||||
-if HAVE_DOCTOOLS
|
||||
# actual man pages
|
||||
man_pages_sources = evemu-describe.txt evemu-device.txt
|
||||
# shadow man pages
|
||||
@@ -24,6 +22,8 @@
|
||||
|
||||
man_pages = $(man_pages_sources:.txt=.1) $(man_pages_shadows)
|
||||
|
||||
+# man page generation
|
||||
+if HAVE_DOCTOOLS
|
||||
$(man_pages_shadows): $(man_pages_sources:.txt=.1)
|
||||
|
||||
SUFFIXES = .1 .txt .xml
|
||||
@@ -33,9 +33,9 @@
|
||||
|
||||
.txt.xml:
|
||||
$(AM_V_GEN)$(ASCIIDOC) -b docbook -d manpage -o $@ $<
|
||||
+endif
|
||||
|
||||
EXTRA_DIST = $(man_pages_sources)
|
||||
dist_man_MANS = $(man_pages)
|
||||
CLEANFILES = $(dist_man_MANS)
|
||||
MAINTAINERCLEANFILES = $(man_pages) *.xml
|
||||
-endif
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">bartobri/no-more-secrets</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
#if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/bartobri/${PN}.git"
|
||||
SRC_URI=""
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
#else
|
||||
# SRC_URI=""
|
||||
# KEYWORDS=""
|
||||
#fi
|
||||
|
||||
DESCRIPTION="recreate decrypting text from 1992 movie 'Sneakers'"
|
||||
HOMEPAGE="https://github.com/bartobri/no-more-secrets"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
|
||||
DEPEND="sys-libs/ncurses:0="
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#CC =#CC ?=#' Makefile
|
||||
sed -i 's#prefix =#prefix ?=#' Makefile
|
||||
sed -i 's#CFLAGS =#CFLAGS ?=#' Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC=$(tc-getCC) CFLAGS=${CFLAGS} emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
prefix=/usr DESTDIR="${ED}" emake install
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Grisbi is a personal accounting application for Linux"
|
||||
HOMEPAGE="http://www.grisbi.org"
|
||||
SRC_URI="mirror://sourceforge/grisbi/grisbi%20stable/1.0.x/${P}.tar.bz2"
|
||||
IUSE="libressl nls ofx ssl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=dev-libs/glib-2.18.0:2
|
||||
>=x11-libs/gtk+-2.12.0:2
|
||||
x11-misc/xdg-utils
|
||||
ssl? (
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
!libressl? ( >=dev-libs/openssl-0.9.5:0= ) )
|
||||
ofx? ( >=dev-libs/libofx-0.7.0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--with-libxml2 \
|
||||
--without-cunit \
|
||||
--disable-static \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with ofx) \
|
||||
$(use_enable nls)
|
||||
}
|
@ -0,0 +1,251 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite,ssl"
|
||||
|
||||
inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1
|
||||
|
||||
DESCRIPTION="Ebook management application"
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="
|
||||
GPL-3+
|
||||
GPL-3
|
||||
GPL-2+
|
||||
GPL-2
|
||||
GPL-1+
|
||||
LGPL-3+
|
||||
LGPL-2.1+
|
||||
LGPL-2.1
|
||||
BSD
|
||||
MIT
|
||||
Old-MIT
|
||||
Apache-2.0
|
||||
public-domain
|
||||
|| ( Artistic GPL-1+ )
|
||||
CC-BY-3.0
|
||||
OFL-1.1
|
||||
PSF-2
|
||||
unRAR
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
SLOT="0"
|
||||
IUSE="+udisks"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
>=app-text/podofo-0.8.2:=
|
||||
>=app-text/poppler-0.26.5[qt5]
|
||||
>=dev-libs/chmlib-0.40:=
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/icu-4.4:=
|
||||
>=dev-python/apsw-3.7.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssutils-0.9.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mechanize-0.1.11[${PYTHON_USEDEP}]
|
||||
dev-python/netifaces[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-1.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyQt5-5.3.1[gui,svg,webkit,widgets,network,printsupport,${PYTHON_USEDEP}]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libmtp-1.1.5:=
|
||||
>=media-libs/libwmf-0.2.8
|
||||
sys-libs/zlib
|
||||
virtual/libusb:1=
|
||||
virtual/python-dnspython[${PYTHON_USEDEP}]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
>=x11-misc/xdg-utils-1.0.2-r2
|
||||
udisks? ( virtual/libudev )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5[${PYTHON_USEDEP}]
|
||||
>=virtual/podofo-build-0.8.2
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# no_updates: do not annoy user with "new version is availible all the time
|
||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
||||
eapply \
|
||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|cmd\[2\]|cmd[4]|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/build.py || die "sed failed to patch build.py"
|
||||
|
||||
# use system beautifulsoup, instead of bundled
|
||||
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
|
||||
|| die "could not remove bundled beautifulsoup"
|
||||
find "${S}" -type f -name \*.py -exec \
|
||||
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|
||||
|| die "could not sed bundled beautifulsoup out of the source tree"
|
||||
|
||||
# avoid failure of xdg tools to recognize vendor prefix
|
||||
sed -e "s|xdg-icon-resource install|xdg-icon-resource install --novendor|" \
|
||||
-e "s|'xdg-mime', 'install'|'xdg-mime', 'install', '--novendor'|" \
|
||||
-e "s|'xdg-desktop-menu', 'install'|'xdg-desktop-menu', 'install', '--novendor'|" \
|
||||
-i "${S}"/src/calibre/linux.py || die 'sed failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
echo $0 : $@
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database} || die
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
|
||||
|
||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
||||
|
||||
tc-export CC CXX
|
||||
# Bug #334243 - respect LDFLAGS when building extensions
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
# Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
|
||||
local x
|
||||
for x in /dev/dri/card[0-9] ; do
|
||||
[[ -e ${x} ]] && addpredict ${x}
|
||||
done
|
||||
|
||||
#dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
|
||||
#dodir $(python_get_sitedir)
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
"${PYTHON}" setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
find "${ED}"usr/share -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EPREFIX}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
einfo "Converting python shebangs"
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
einfo "Compiling python modules"
|
||||
python_optimize "${ED}"usr/lib/calibre
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
|
||||
bashcomp_alias calibre \
|
||||
lrfviewer \
|
||||
calibre-debug \
|
||||
ebook-meta \
|
||||
calibre-server \
|
||||
ebook-viewer \
|
||||
ebook-polish \
|
||||
fetch-ebook-metadata \
|
||||
lrf2lrs \
|
||||
ebook-convert \
|
||||
ebook-edit \
|
||||
calibre-smtp \
|
||||
ebook-device
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gtksourceviewmm-2.10.3.tar.xz 742184 SHA256 0000df1b582d7be2e412020c5d748f21c0e6e5074c6b2ca8529985e70479375b SHA512 e6ddc4f585251f68e48cf0ea2c33bce02a90031efcd885105a82837715d659a317ee0845b476fc54c1c4c71b518df41ce494505af1524db6acb733e51f44e6ca WHIRLPOOL 35ae10e70e6d2a8c59e9be6552229034b844efdf1c730c20b75b9e6dbdd85d88e7b12104dbce400ba83b2745677d4abb04e994e3e75b8d3a2bdc8e9b920699de
|
||||
DIST gtksourceviewmm-3.12.0.tar.xz 1046368 SHA256 73939031bcc60e6ad31a315ec84b132deba15e5732de16e75fe424a619267ace SHA512 c4318039ad683a69e6610fa8da058327726e57e485445a9fd2a5d9ef7afd603d30f5954e586c5f9b586d0cd2ef9e444ba7cbf17c44bae8e4c20bd54dcec8288f WHIRLPOOL 130927a9aede6572db20cb660aa64612abd7cf7e53313fcc029ea1806483bd818ce1fc67c2422fac6740d4f52f0d8ffe824d6fccc382750e66f91dd859488fe0
|
||||
DIST gtksourceviewmm-3.18.0.tar.xz 1079780 SHA256 51081ae3d37975dae33d3f6a40621d85cb68f4b36ae3835eec1513482aacfb39 SHA512 143de4a650f2a6090efeba359e78d1f4982519a9e7a2be838f9888732c57dcc42db8b6ab45bd23ccd261d8f17bc743846a3bb572566f233cee9b4238c017c64c WHIRLPOOL b3c7dee2e8c41e4a14457e45f5131fb8fcf2f5841f5080b950da39ea6c1afaf39e4f89cbe8ab279bd5b2f2d1f34a071a9b9d3cdf08e808ae993f3d0727d4244c
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for gtksourceview"
|
||||
HOMEPAGE="https://projects.gnome.org/gtksourceviewmm/"
|
||||
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
SLOT="2.0"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
RDEPEND=">=dev-cpp/gtkmm-2.12:2.4
|
||||
dev-cpp/atkmm
|
||||
>=x11-libs/gtksourceview-2.10.0:2.0
|
||||
!>=dev-cpp/libgtksourceviewmm-1"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable doc documentation)
|
||||
--disable-static"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Remove docs from SUBDIRS so that docs are not installed, as
|
||||
# we handle it in src_install.
|
||||
sed -i -e 's|^\(SUBDIRS =.*\)$(doc_subdirs)\(.*\)|\1\2|' Makefile.in || \
|
||||
die "sed Makefile.in failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
use doc && dohtml -r docs/reference/html/*
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 eutils
|
||||
|
||||
DESCRIPTION="C++ bindings for gtksourceview"
|
||||
HOMEPAGE="https://projects.gnome.org/gtksourceviewmm/"
|
||||
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
SLOT="3.0"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/glibmm-2.28:2
|
||||
>=dev-cpp/gtkmm-3.2:3.0
|
||||
>=x11-libs/gtksourceview-3.12:3.0
|
||||
|
||||
dev-cpp/atkmm
|
||||
dev-cpp/cairomm
|
||||
dev-cpp/pangomm:1.4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
gnome2_src_configure $(use_enable doc documentation)
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit mono
|
||||
|
||||
DESCRIPTION="C# implementation of gnome-keyring"
|
||||
HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp"
|
||||
SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/mono-2.0
|
||||
>=gnome-base/libgnome-keyring-2.30.0
|
||||
dev-dotnet/glib-sharp"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Disable building samples.
|
||||
sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable doc monodoc) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This dies without telling in docs with anything not -j1
|
||||
# CSC=gmcs needed for https://bugs.gentoo.org/show_bug.cgi?id=250069
|
||||
emake -j1 CSC=gmcs || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
mono_multilib_comply
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST dbus-glib-0.102.tar.gz 783792 SHA256 6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c SHA512 9bf4b33dd264eaed9ade0e35f0ad47986c31bd5e3de4d3e2fcee66a9be87000b6121bc810b9a5a24eca53190d98323b871dc78f341df8e05bd0247b096cf778f WHIRLPOOL b83f12877118dca1797c935f57a6ae664fbfc70c4d2fb2d95d2cf11abb7c326a098f336225ffb9030fac00a33d988a30038e2734721fc1ddbb5297f864e01bcf
|
||||
DIST dbus-glib-0.104.tar.gz 793417 SHA256 bfc1f1a82bfc3ec3ecafe04d0e87bab7e999f50dce4f4a34d0b89caf6bd821f6 SHA512 eff599f169976055545b51459d77845002d8bc7e8dcd056cec2bf83836d07c66b03baed2023bc87a6d7c021d35c744987830f8ed6f9c3391a49ee199db85134b WHIRLPOOL 6e757dee52ea11a7e43cc22a090243cd77ae0b38439fead755c78a6e8b7d6e7e2b1bb1218e23396513e33ef555e35b556f3b333a190077fd9472288e3e96ce91
|
||||
DIST dbus-glib-0.106.tar.gz 793343 SHA256 b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046 SHA512 13a1d4600add29d29dbb8d1271570e6c04f70ddff0862d28fcb7df774bfa76a961f90303f897f3b970070eb959e909d5d02a94941e2edd8ba315b9aaa3a602cb WHIRLPOOL 059cb497af2fe957fe3234db62c629eba3581a119211d05e21acac6b0ce9b15614c57f8d7ea63264a688498691deee0fa3035c7413a48c9f3679a196c159d867
|
||||
DIST dbus-glib-0.108.tar.gz 812488 SHA256 9f340c7e2352e9cdf113893ca77ca9075d9f8d5e81476bf2bf361099383c602c SHA512 9fa7cd1c22bf6ee1e345dd6fe48aa725abc01b3b180ba430efea9996403ad99636b2c40f682956978ae5049c110c3298fa199470a4cc05907e11773d034ea5b1 WHIRLPOOL 260f600e188f1201f08c742f505f34a2288a077d7d4f9727d430b6cb5da52ea6ed0edd7ad21ee993e8f17f87d7f24b6a2561a96702a5d29541ff19904efd35b2
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit bash-completion-r1 eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="D-Bus bindings for glib"
|
||||
HOMEPAGE="https://dbus.freedesktop.org/"
|
||||
SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug static-libs test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
|
||||
>=sys-apps/dbus-1.8[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.14
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
abi_x86_32? (
|
||||
!<app-emulation/emul-linux-x86-baselibs-20131008-r8
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog HACKING NEWS README )
|
||||
|
||||
set_TBD() {
|
||||
# out of sources build dir for make check
|
||||
export TBD="${BUILD_DIR}-tests"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--enable-bash-completion
|
||||
--disable-gtk-doc
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
|
||||
ln -s "${S}"/doc/reference/html doc/reference/html #460042
|
||||
|
||||
if use test; then
|
||||
set_TBD
|
||||
mkdir "${TBD}"
|
||||
cd "${TBD}"
|
||||
einfo "Running configure in ${TBD}"
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
"${myconf[@]}" \
|
||||
$(use_enable test checks) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable test asserts) \
|
||||
$(use_with test test-socket-dir "${T}"/dbus-test-socket)
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use test; then
|
||||
set_TBD
|
||||
cd "${TBD}"
|
||||
einfo "Running make in ${TBD}"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
set_TBD
|
||||
cd "${TBD}"
|
||||
emake check
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus-send
|
||||
rm -rf "${ED}"/etc/bash_completion.d || die
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="input_devices_wacom test"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.12 )
|
||||
>=dev-libs/libevdev-0.4
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
# test? (
|
||||
# >=dev-libs/check-0.9.10
|
||||
# dev-util/valgrind
|
||||
# sys-libs/libunwind )
|
||||
|
||||
src_prepare() {
|
||||
# Doc handling in kinda strange but everything
|
||||
# is available in the tarball already.
|
||||
sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
# building documentation silently fails with graphviz syntax errors
|
||||
econf \
|
||||
--disable-documentation \
|
||||
--disable-event-gui \
|
||||
$(use_enable input_devices_wacom libwacom) \
|
||||
$(use_enable test tests) \
|
||||
--with-udev-dir="$(get_udevdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc -r doc/html
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2 virtualx
|
||||
|
||||
DESCRIPTION="A library for writing single instance application"
|
||||
HOMEPAGE="https://wiki.gnome.org/Attic/LibUnique"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="debug dbus +introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.12:2
|
||||
>=x11-libs/gtk+-2.11:2[introspection?]
|
||||
x11-libs/libX11
|
||||
dbus? (
|
||||
>=dev-libs/dbus-glib-0.70
|
||||
sys-apps/dbus[X] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.3:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# For eautoreconf
|
||||
# dev-util/gtk-doc-am
|
||||
|
||||
PATCHES=(
|
||||
# Include NUL terminator in unique_message_data_get_filename()
|
||||
"${FILESDIR}/${P}-include-terminator.patch"
|
||||
|
||||
# test-unique: Resolve format string issues
|
||||
"${FILESDIR}/${P}-fix-test.patch"
|
||||
|
||||
# Remove compiler warnings
|
||||
"${FILESDIR}/${P}-compiler-warnings.patch"
|
||||
|
||||
# Remove G_CONST_RETURN usage, now that its gone in glib
|
||||
"${FILESDIR}/${PN}-1.1.6-G_CONST_RETURN.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-maintainer-flags \
|
||||
--disable-static \
|
||||
--enable-bacon \
|
||||
$(use_enable introspection) \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable dbus)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/tests"
|
||||
cp "${FILESDIR}/run-tests" . || die "Unable to cp \${FILESDIR}/run-tests"
|
||||
virtx emake -f run-tests || die "Tests failed"
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 virtualx
|
||||
|
||||
DESCRIPTION="A library for writing single instance application"
|
||||
HOMEPAGE="https://wiki.gnome.org/Attic/LibUnique"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="debug +introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.25.7:2
|
||||
sys-apps/dbus[X]
|
||||
>=x11-libs/gtk+-2.90.0:3[introspection?]
|
||||
x11-libs/libX11
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# For eautoreconf
|
||||
# dev-util/gtk-doc-am
|
||||
|
||||
src_configure() {
|
||||
# --disable-dbus means gdbus is used instead of dbus-glib
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--disable-maintainer-flags \
|
||||
--disable-dbus \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable introspection)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/tests"
|
||||
cp "${FILESDIR}/run-tests" . || die "Unable to cp \${FILESDIR}/run-tests"
|
||||
virtx emake -f run-tests || die "Tests failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST wayland-protocols-1.3.tar.xz 101684 SHA256 6bcd0633fdf9225ef1c7d2831f542e947f7d79811c79fc37f57b2e5375ded82f SHA512 8e407bce93e595ebb7c6a8c7542d4db81d352821c63f41ac75d27f6d52e81e18e0a9a7d4b18460e446c4201931e42a98c0cd214015f154363099eda5747cd738 WHIRLPOOL 73d5c04cb987d0632fe0cc950cd8bf132f9427bd70a65777027148ada2ede0347b336f7faf6e6455171c1a5b2829835edceca15cbbbaf95b99223976279757a9
|
||||
DIST wayland-protocols-1.4.tar.xz 102624 SHA256 014a9a23c21ed14f49b1005b3e8efa66d6337d4ceafc97f7b0d6707e7e3df572 SHA512 ffbac79b3be03f7b1c1033923702aadd0bdd2f90dafee946a4a2384eaa9e7f2ab90de6a6497fce374fd3343b133f8dd02683503973a65f947e65b76c47186123 WHIRLPOOL 410923d92e4a962e439f02c5964eb0e61202434bbbf52d68b61549897dcf57040c7b928bad883484802aa3414f63198bba784d644d6c2e8260a78c9247575ac4
|
||||
DIST wayland-protocols-1.5.tar.xz 106792 SHA256 7d0b426ccaeafc084fc579bb2a139f8ad4ea3492d54b7b0210d124c61fbeb2bf SHA512 8a3305151cbf7d69e4c36dc5d132a607af4944ed2737f0c50fbc540faf60fb6e742402883f55377a3215427afa92a95fb693398419335c4de0ac9bb9bfb9f607 WHIRLPOOL b883327d1e5f7e71f32ea3052d2532a05cbafc0081ab0703c0aeeee2b4f3e9713d1c0adc1cf7f01341428b4d711a9ccd60184d994fbf16bbfc2342f2c84f4eef
|
||||
DIST wayland-protocols-1.7.tar.xz 113220 SHA256 635f2a937d318f1fecb97b54074ca211486e38af943868dd0fa82ea38d091c1f SHA512 291a3226cc538de3b81bdffa5de513b305a946bfc3481e21c254fcc6a023e0cf2ff1869509c7ae193da02460f1d4a3c5cd5f1ca13b2550886acffcc636fb30d2 WHIRLPOOL 6528e73461455278f2086fc953d251042f870360ab854f388658eb353f3d0affcc6aa369d912a3edc9040a026468a3a0f63b42cbc2a27a0902e9ab94ae2a7bfc
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
fi
|
||||
|
||||
inherit autotools-utils ${GIT_ECLASS}
|
||||
|
||||
DESCRIPTION="Wayland protocol files"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/wayland"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
autotools-utils_src_test
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
Fix building with C++14, which errors out due to bool -> T* conversions
|
||||
See also: https://bugs.gentoo.org/show_bug.cgi?id=594234
|
||||
|
||||
--- a/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
|
||||
+++ b/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
|
||||
@@ -151,7 +151,7 @@
|
||||
SymmetricKeyMode mode = MODE_CBC,
|
||||
const unsigned char * iv = NULL,
|
||||
const unsigned char* tag = NULL,
|
||||
- unsigned int taglen = NULL);
|
||||
+ unsigned int taglen = 0);
|
||||
|
||||
/**
|
||||
* \brief Continue an decrypt operation using this key.
|
||||
--- a/xsec/enc/XSECCryptoSymmetricKey.hpp
|
||||
+++ b/xsec/enc/XSECCryptoSymmetricKey.hpp
|
||||
@@ -185,7 +185,7 @@
|
||||
SymmetricKeyMode mode = MODE_CBC,
|
||||
const unsigned char* iv = NULL,
|
||||
const unsigned char* tag = NULL,
|
||||
- unsigned int taglen = NULL) = 0;
|
||||
+ unsigned int taglen = 0) = 0;
|
||||
|
||||
/**
|
||||
* \brief Continue a decrypt operation using this key.
|
||||
--- a/xsec/tools/checksig/InteropResolver.cpp
|
||||
+++ b/xsec/tools/checksig/InteropResolver.cpp
|
||||
@@ -645,7 +645,7 @@
|
||||
|
||||
}
|
||||
|
||||
- return false;
|
||||
+ return NULL;
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LEEJO
|
||||
DIST_VERSION=4.33
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Simple Common Gateway Interface Class"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Encode
|
||||
virtual/perl-Exporter
|
||||
>=virtual/perl-File-Spec-0.820.0
|
||||
>=virtual/perl-File-Temp-0.170.0
|
||||
>=dev-perl/HTML-Parser-3.690.0
|
||||
virtual/perl-if
|
||||
>=virtual/perl-parent-0.225.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-IO
|
||||
>=virtual/perl-Test-Simple-0.980.0
|
||||
>=dev-perl/Test-Deep-0.110.0
|
||||
>=dev-perl/Test-Warn-0.300.0
|
||||
)
|
||||
"
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/compiles_pod.t t/changes.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST CGI-4.22.tar.gz 194314 SHA256 8cd695f032b630fc4b5cf6c0a39912ff30cae0f7da03d01965ca2ac28b4dcca8 SHA512 becd37e56ca3fe8a6ab6069d99ddc65838d4aa00b57b6e30a5e2bcf73e84dff9a3f5f2841549f6627fe29d46607254197f3a03f308dc5fb6add3ece60719871d WHIRLPOOL 003483d2852493ad2b4be0bbd018e590d264592dcd3e37da6adfaa004c3818c9c4cbf631635ede5b3cf0150429f7b4ce0e8ce647969ed6fff66fc905e918c849
|
||||
DIST CGI-4.25.tar.gz 194815 SHA256 efb3e5235ada6a91f97ca2905399a686bedea60f6b525e52f4a147baff4f131a SHA512 2f9befda944867d751a100024732de71073a47c2e63fdbbf86291422258da47adfe9677b7c39451958cf6e936a015c1b9c7f8338563f2548b7446128f9cb6b8b WHIRLPOOL 295a7fe94d6d7b4a6c01ce3aa41b356bb278ae9004c278b75c512094db5919860bf2d089f884d9bc77d9be4aea728f3fb964fa1f0cba45702b6a1dee1d6b153c
|
||||
DIST CGI-4.31.tar.gz 197018 SHA256 dee34f45525efb698d02c56ba2458a72acc34c4dcb05344706b587840b4e8c99 SHA512 a3fc6a88bed4b86f5763c07ec0961d2b06754e0a2bc9112e87b12025975618d97f626895c7d8b3a2f85a2ba5adcf99a132801a52d54652cd09ae3f053457c411 WHIRLPOOL 361b18445a25adb6f03e4114f788a097c82811f228355fb7c0634e9a8a1d340c9d9e5f2a656a51216c57057f768c7fb5a865bbb30ba6c2ce9fc8c17e83b5223c
|
||||
DIST CGI-4.33.tar.gz 197445 SHA256 be8bd6cbc56375d373fae984e524976d8aa6f385ca3275e2e448aa01ef800840 SHA512 1303f0fc093e0a3a36b840799ea3054d850bb6fec09f127f7667c6d78f74979fe43a9868ee5652bdc96a745747cc9eb226a28b0aece9031fd71d5781c2c76c53 WHIRLPOOL aab36029a9d036e0a64ac1af0a567b21efbafa408b843a4f05f036d4ce884292dc90e9d00015fac564e1825944cee4a0bb4bb662ee4ad747deb9993e0a409a92
|
||||
|
@ -1,4 +1 @@
|
||||
DIST WWW-Dict-Leo-Org-1.36.tar.gz 12861 SHA256 d8d21aa2ab46397f469478bf5d76d4a0fff6e2d3f64192351489d724fc1fcf8b SHA512 fc7b30c5b3a70161b53eebc9257b09582648a4189264de0766e31b5fe44d9fb4944aa2b5531fde68aa7202cca16abc2dd62220bb8e8478d7b420625c65569380 WHIRLPOOL 785dc0567f2d2775f0076a1d1413d227a97d62a2d5ccabe13a25306a57c3e324a152805562366227677bd3b0cc291cbffe82783659ac3c8bd098e6d188821bdb
|
||||
DIST WWW-Dict-Leo-Org-1.37.tar.gz 12899 SHA256 f1efe2a555eb0d0afa952a2e7eb99af34734ae1aa7f39771e32e913d11eafe22 SHA512 4289fc566ee5498c9affb5cdeb4ef25657b33b8f0ba0c47a944dec9b6184b9672ad4c9b4b2035c3e17c39f8ec9464d8beccc0e78e132ce4817b0fc7379a8f776 WHIRLPOOL cf16b24e48b7d164a7ab24690f649ec906b74180a1711a9b76f65a0d689bc4ba18d6acc0a475fc5e5b1f45eb7720a796649f4ef0ad112903bb50f93061c2b4ed
|
||||
DIST WWW-Dict-Leo-Org-1.39.tar.gz 13274 SHA256 81f134f6d68f42fa24b559d27296f971e58f836408842770fd10a1fe5a91cbeb SHA512 85ed59d1660a3ec3c986656b0e0051caaf54ef9ac42916a6c36433cd48fa9feabcfab6c81f073e782268ec2ada29a34d452fdb7513be6f2243bc127b66a276e2 WHIRLPOOL 1ebb6c0e6d56ab59de612145cfa79548b19523d8101f543a40687aa023aa07712e57024aae8861a3ee72dc0b3d8ed627f8b9a1f0a349053b9724bc99acda9ded
|
||||
DIST WWW-Dict-Leo-Org-1.40.tar.gz 13656 SHA256 4285702fd5d3e0633891739cb149b9f950afe4c69ad0a10a9c6e185ff29552da SHA512 1f71e7571eef4f68addf1b999e61bc0ecbe3fd5fc5bf1156c20d1c5018f232d7ed986bbf714bc549865c1cf81e3863b453065234033d8b763768db29f8e565f7 WHIRLPOOL 7b70536cc2ddd040a21a9027910afbbdcedf080fd07f677b410764e2cb24c143acc23fe5ee38122046bd04bf9f4a715b098a336c3edc7f65f8534d152822f13b
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=TLINDEN
|
||||
MODULE_VERSION=1.36
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Commandline interface to http://dict.leo.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/HTML-TableParser
|
||||
virtual/perl-DB_File"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
mv "${D}"/usr/bin/{l,L}eo || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "We renamed leo to Leo"
|
||||
elog "due to conflicts with app-editors/leo"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=TLINDEN
|
||||
MODULE_VERSION=1.37
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Commandline interface to http://dict.leo.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/HTML-TableParser
|
||||
virtual/perl-DB_File"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
mv "${D}"/usr/bin/{l,L}eo || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "We renamed leo to Leo"
|
||||
elog "due to conflicts with app-editors/leo"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=TLINDEN
|
||||
MODULE_VERSION=1.39
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Commandline interface to http://dict.leo.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/HTML-TableParser
|
||||
virtual/perl-DB_File"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
mv "${D}"/usr/bin/{l,L}eo || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "We renamed leo to Leo"
|
||||
elog "due to conflicts with app-editors/leo"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST WWW-Mechanize-1.73.tar.gz 126866 SHA256 e9d56c921ce8f09a9087031249945f27383e29cee28b1e0a46c473d894423cff SHA512 470a3e62b8a080e1fe8330b3ef28c4bd872c7ba53c67aacfca46163781f7e99132a4d5ab82c3820d5ff3a7e7d433d019e696f232d512b28be3e6bfe012188bdd WHIRLPOOL 09e2cd2f9af59b15f2891d76a71dd9bf14ffc648eabfd787ed4ea33cafc298110b549bbc646aa2bbf713001e98a96a099afb41fd56ba4e353897f83916a5de99
|
||||
DIST WWW-Mechanize-1.75.tar.gz 128852 SHA256 5310051feb66c6ef9f7a4c070c66ec6092932129fc9cd18bba009ce999b7930b SHA512 1643cbd7acc19d0802a263c0f30e296d438c798224e0ea971142a350f8c1cc78c53ed6dc6cad6c2008e801197a8b13fe5c7e69c76f41d8f919a2a4ec70c49ba6 WHIRLPOOL ad5e6771f41b5044ada06819a966cc5e0b42b37aadc8a91697da41b1174be5362ce8d91d72e31f40df6a72c9add9153223662e36ed70bb0fbadf45216eedc560
|
||||
DIST WWW-Mechanize-1.79.tar.gz 156998 SHA256 196c29aeb74ada424d79781770e3e4ff7e293cee0c210b8f50e0e34d3c124708 SHA512 762ad8b1263fedf487ad0ac778083104585226a220319e990ba8d3ff4c017d9e449e0473edbc2dd5acf855d2e2d648c334b3b9ee4bbc7e326d261800ccadf9de WHIRLPOOL 00d0fe8f108233166aeefed5c9074458afdcbf9d83cc68d897a2274ee4b567c25f567f5f23eedf252f7040b60e4ac245ea2b23b9f49743cf3f3c5e2ce1864fcb
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=OALDERS
|
||||
DIST_VERSION=1.79
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Handy web browsing in a Perl object"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/HTML-Form
|
||||
>=dev-perl/HTML-Parser-3.340.0
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/HTTP-Cookies
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/URI-1.360.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-perl/CGI-4.320.0
|
||||
virtual/perl-Encode
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/HTTP-Daemon
|
||||
dev-perl/HTTP-Server-Simple
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Test-Output
|
||||
dev-perl/Test-RequiresInternet
|
||||
)
|
||||
"
|
||||
|
||||
# MI makes these configure problems
|
||||
src_prepare() {
|
||||
use test && perl_rm_files t/pod.t t/pod-coverage.t
|
||||
perl-module_src_prepare
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST WWW-Shorten-3.03.tar.gz 27936 SHA256 62241a1f584f50edfa6d2cfd796f90f2c9054f9ff9f7e6f6e25315c5485e4bc2 SHA512 8afe6c311c59565544fb9ea4d31660ddf83ff5d5c57c3ea01eed1a2551ac67eb7788413a94d7031a8170341c8021d0321766fe0c6fd38ca565d26bd416860d9e WHIRLPOOL 857d0bdaebca2745f8cdb500e3e60316744273373fdaa03d178a57915bfdbdbd771059546f8f0502180cc149b73782c85d9944ce460b735ed13008783a389eca
|
||||
DIST WWW-Shorten-3.093.tar.gz 22669 SHA256 cbf28d079bfc1a96f789e84b3e1eabb77b1665131eb1f2dc73fb24c1b9502c3b SHA512 5c918cb2c27c11e29dbb4fb969f5d8d4468735cdcebbf687003e24d5468e7b291069bf066f922bca1ee46dbda6444335d9106b6284ba48d4ac60ff9956c3e844 WHIRLPOOL 295a71cdad65bd243eb69233c82a70b1cf03b79f0294d73ebf8a706cf5de12820ca95637e773218e44303a16cfd5cacbeca79e8bdadb57e6702656df9a869766
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DAVECROSS
|
||||
MODULE_VERSION=3.03
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interface to URL shortening sites"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/libwww-perl
|
||||
dev-perl/URI"
|
||||
DEPEND=">=dev-perl/Module-Build-0.380.0"
|
||||
# test? ( ${RDEPEND}
|
||||
# dev-perl/Test-Pod
|
||||
# dev-perl/Test-Pod-Coverage )"
|
||||
|
||||
SRC_TEST=online
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
sed -i -e '/Config::Auto/d' "${S}"/Build.PL || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
docinto example
|
||||
dodoc "${S}"/bin/shorten
|
||||
rm -f "${D}"/usr/bin/shorten "${D}"/usr/share/man/man1/shorten.1 || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST Want-0.21.tar.gz 18607 SHA256 cc8bed2d029a08b2f0c8188ade90bea1fd82cbd70b66867039a50ff385a5eba8 SHA512 50592e6ea9d3e7c1fd0eea4c354072f34314cb82c06e2200fd7de68ed3f476cee478280b3a4a52a414b339d73c3e298b455d5e173a57861549a6b3159695c1c7 WHIRLPOOL b46525e143fe815fe3e914f73808880cbe6203e428bc12bff2a1022cd8bce3a8d056a630a265c6293c9ffd5301b56237e4da793dd09782d1e8b8ebb38aead337
|
||||
DIST Want-0.26.tar.gz 19866 SHA256 4951675e13de2b0b9792be2827b8ef46ef25a0b9a2d3e9132143444dac28e17c SHA512 4b10d483068f0ab976c247b416477fe42903e06abf46678d5c5cb2308732b69038761b7aaefe42e232d666c3032e6cf303c11918f10dde1572bf25aa3ae1e8bd WHIRLPOOL 5611f434e5e776e1e38d58d4cbf76a600eda01a6df48262a3a199ff1dab56257183d69a27d678ee58a31b6ec42b0fbbcf4ae15e5c1ebeb82c0dffc39411fa72c
|
||||
DIST Want-0.29.tar.gz 20928 SHA256 b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7 SHA512 08df985de16b5e9dd67d6ed38d319da2511e92098f95a861a5a695eed8d77eaf412671b626e4da29b536147ad4da4a8cfdfd789ef204dac240073091481f3c1a WHIRLPOOL a65f34e3721f1065bdeada2e0f63746affe76ac14afe02382d6fe22a89b550cff081fb2e7d0ae361c98625b29fe26daa6783a8256f3f384c9d1c25b27cdb990e
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ROBIN
|
||||
MODULE_VERSION=0.26
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A generalisation of wantarray"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~ppc-aix"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST WebService-MusicBrainz-0.93.tar.gz 23378 SHA256 c1bc124f1d97e970d7752a09499710d1a47986581a40ace53852928d4d17e6bd SHA512 52b61dc10dd406aafec3eaac01aa7cebd240176bc3ef10fd00be543b146ac23ef8f90ec6c1bab37ea5440292cf3fd9f599bc0df92a09d749f3df4f7c546ac2c8 WHIRLPOOL c75b946c9e86cff848f6edbb534d42aa334c25778a6220b6520f337cdea38e02bfd423c6011d360f2369adc0e5b6d99a3ecc978d0e7534114ad9425cbcef87cd
|
||||
DIST WebService-MusicBrainz-0.94.tar.gz 29800 SHA256 9b227b24dbf5f0159dd8fda1ed91c3cbf094b586da4e1207bdb9ad16ba71e005 SHA512 4c73aa4e1407bb17567e0ad618771ffae47aa87925ef516640af6bb16e4dde2657a5c16bfa2dea2379b67812a2eee253d0642e4b2d73d43929d031f5917e51f0 WHIRLPOOL 398a0f5cfc2f90e5c79edabe4ea8fddc0a6b518dfcecef49505dc3dc0e32874506235bfc6a9a20be457977ea0faa54cbd2d363efc604596ea4c42debc94e9186
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BFAIST
|
||||
DIST_VERSION=0.94
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Web service API to MusicBrainz database"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Class-Accessor-0.300.0
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/URI-1.350.0
|
||||
>=dev-perl/XML-LibXML-1.630.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.420.0
|
||||
"
|
||||
|
||||
DIST_TEST=skip
|
||||
# network tests, can be handled better
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
#VIRTUALX_REQUIRED=test
|
||||
#inherit virtualx
|
||||
MODULE_AUTHOR=AZAWAWI
|
||||
MODULE_VERSION=0.39
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Scintilla source code editing component for wxWidgets"
|
||||
SRC_URI+=" https://dev.gentoo.org/~tove/distfiles/dev-perl/${PN}-0.34-patches.tar.gz"
|
||||
|
||||
LICENSE+=" HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Alien-wxWidgets
|
||||
dev-perl/Wx
|
||||
x11-libs/wxGTK:${WX_GTK_VER}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/ExtUtils-XSpp-0.160.200
|
||||
>=dev-perl/Module-Build-0.360.0
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${PN}-patches/0.34-flags.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
myconf=( --verbose )
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
#SRC_TEST=do
|
||||
#src_test() {
|
||||
# VIRTUALX_COMMAND="./Build" virtualmake test || die
|
||||
#}
|
@ -0,0 +1 @@
|
||||
DIST aiodns-1.1.1.tar.gz 6084 SHA256 d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea SHA512 4bd8b80a10f84b82b13ba4ff6abbb1afd13ba6cfececc4db7c4bd303569473316f1c0e083f1017a450875fc8994a70c30c9a1b3fb2278fee5e27158973bc3810 WHIRLPOOL e4e45bc4b9ad7ce290e1c9039bfdf8858f1fc3e6e33e5e8b35a373c1193f4f70c9de44afe4d99ad8bcef85673e4bcd075b7896e62cba49f52c6e7a15a3f0696f
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple DNS resolver for asyncio"
|
||||
HOMEPAGE="https://github.com/saghul/aiodns/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
# Tests fail with network-sandbox, since they try to resolve google.com
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/pycares[${PYTHON_USEDEP}]
|
||||
python_targets_python2_7? (
|
||||
dev-python/trollius[python_targets_python2_7]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON:-python}" tests.py || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="pypi">aiodns</remote-id>
|
||||
<remote-id type="github">saghul/aiodns</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="http client/server for asyncio"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
EGIT_REPO_URI="https://github.com/KeepSafe/aiohttp"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/aiodns[${PYTHON_USEDEP}]
|
||||
dev-python/async_timeout[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/multidict-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
www-servers/gunicorn[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="$(pwd):${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST async_timeout-1.0.0.tar.gz 7554 SHA256 c7afd7355b93fca0aecc15811aa53eea57f6fd7307b5bff2336b01419ebeda36 SHA512 b02fa2f9558d23e6e1cc076f8d144dcfee7adeaad67c023ce747c99935c2809e2a2223f72b0a12274f11bacadc9b69a6bc3a2914c305ef05d483dc29908e9c97 WHIRLPOOL 4f2fb79330827e17acfb141fcc846207cfee303321367921e08d5c1da7a5e0ce496774e92ac81b84b7d773eb6d83c4f702c9a41d04ae0b7a2663f32d8bd1a12c
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Timeout context manager for asyncio programs"
|
||||
HOMEPAGE="https://github.com/aio-libs/async_timeout/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
# tests introduce a circular dependency on aiohttp
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="pypi">async_timeout</remote-id>
|
||||
<remote-id type="github">aio-libs/async_timeout</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
# DO NOT ADD pypy to PYTHON_COMPAT
|
||||
# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Foreign Function Interface for Python calling C code"
|
||||
HOMEPAGE="http://cffi.readthedocs.org/ https://pypi.python.org/pypi/cffi"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/libffi
|
||||
dev-python/pycparser[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
einfo "$PYTHONPATH"
|
||||
$PYTHON -c "import _cffi_backend as backend" || die
|
||||
PYTHONPATH="${PYTHONPATH}" \
|
||||
py.test -x -v \
|
||||
--ignore testing/test_zintegration.py \
|
||||
--ignore testing/embedding \
|
||||
c/ testing/ \
|
||||
|| die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
Add/Change #501 (test_sanitize_remove_src_javascript fails due to HTMLParser bugfixes in cpython)
|
||||
Add/Change #500 (test_sanitize_remove_script_elem fails due to HTMLParser bugfixes in cpython)
|
||||
--- a/genshi/filters/tests/html.py
|
||||
+++ b/genshi/filters/tests/html.py
|
||||
@@ -365,9 +365,12 @@
|
||||
self.assertEquals('', (html | HTMLSanitizer()).render())
|
||||
html = HTML('<SCRIPT SRC="http://example.com/"></SCRIPT>')
|
||||
self.assertEquals('', (html | HTMLSanitizer()).render())
|
||||
- self.assertRaises(ParseError, HTML, '<SCR\0IPT>alert("foo")</SCR\0IPT>')
|
||||
- self.assertRaises(ParseError, HTML,
|
||||
- '<SCRIPT&XYZ SRC="http://example.com/"></SCRIPT>')
|
||||
+ html = HTML('<SCR\0IPT>alert("foo")</SCR\0IPT>')
|
||||
+ self.assertEquals('<SCR\x00IPT>alert("foo")',
|
||||
+ (html | HTMLSanitizer()).render())
|
||||
+ html = HTML('<SCRIPT&XYZ SRC="http://example.com/"></SCRIPT>')
|
||||
+ self.assertEquals('<SCRIPT&XYZ; SRC="http://example.com/">',
|
||||
+ (html | HTMLSanitizer()).render())
|
||||
|
||||
def test_sanitize_remove_onclick_attr(self):
|
||||
html = HTML('<div onclick=\'alert("foo")\' />')
|
||||
|
||||
--- a/genshi/filters/tests/html.py
|
||||
+++ b/genshi/filters/tests/html.py
|
||||
@@ -437,9 +440,9 @@
|
||||
# Case-insensitive protocol matching
|
||||
html = HTML('<IMG SRC=\'JaVaScRiPt:alert("foo")\'>')
|
||||
self.assertEquals('<img/>', (html | HTMLSanitizer()).render())
|
||||
- # Grave accents (not parsed)
|
||||
- self.assertRaises(ParseError, HTML,
|
||||
- '<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
|
||||
+ # Grave accents.
|
||||
+ html = HTML('<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
|
||||
+ self.assertEquals('<img/>', (html | HTMLSanitizer()).render())
|
||||
# Protocol encoded using UTF-8 numeric entities
|
||||
html = HTML('<IMG SRC=\'javascri'
|
||||
'pt:alert("foo")\'>')
|
||||
|
@ -1,15 +0,0 @@
|
||||
https://github.com/geopy/geopy/commit/fe0cd3c6c92b7d7ac47cb2292260485c5b3791c1
|
||||
diff --git a/geopy/format.py b/geopy/format.py
|
||||
index 965a127..63b1e94 100644
|
||||
--- a/geopy/format.py
|
||||
+++ b/geopy/format.py
|
||||
@@ -30,7 +30,7 @@
|
||||
ABBR_ARCSEC = 'arcsec'
|
||||
|
||||
DEGREES_FORMAT = (
|
||||
- "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)s%(arcsec)s"
|
||||
+ "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)g%(arcsec)s"
|
||||
)
|
||||
|
||||
UNICODE_SYMBOLS = {
|
||||
|
@ -1,198 +0,0 @@
|
||||
https://github.com/geopy/geopy/commit/6c9714c480d62dcd04d514dcad10785d5a0816c2
|
||||
diff --git a/test/geocoders/arcgis.py b/test/geocoders/arcgis.py
|
||||
index fdca58c..b154a60 100644
|
||||
--- a/test/geocoders/arcgis.py
|
||||
+++ b/test/geocoders/arcgis.py
|
||||
@@ -7,6 +7,10 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('ARCGIS_USERNAME')),
|
||||
+ "No ARCGIS_USERNAME env variable set"
|
||||
+)
|
||||
class ArcGISTestCase(GeocoderTestBase):
|
||||
|
||||
@classmethod
|
||||
diff --git a/test/geocoders/baidu.py b/test/geocoders/baidu.py
|
||||
index 8ba249c..827ab12 100644
|
||||
--- a/test/geocoders/baidu.py
|
||||
+++ b/test/geocoders/baidu.py
|
||||
@@ -6,8 +6,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['BAIDU_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('BAIDU_KEY')),
|
||||
"No BAIDU_KEY env variable set"
|
||||
)
|
||||
class BaiduTestCase(GeocoderTestBase):
|
||||
diff --git a/test/geocoders/bing.py b/test/geocoders/bing.py
|
||||
index 17b1aae..d23e99b 100644
|
||||
--- a/test/geocoders/bing.py
|
||||
+++ b/test/geocoders/bing.py
|
||||
@@ -6,8 +6,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['BING_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('BING_KEY')),
|
||||
"No BING_KEY env variable set"
|
||||
)
|
||||
class BingTestCase(GeocoderTestBase):
|
||||
diff --git a/test/geocoders/dotus.py b/test/geocoders/dotus.py
|
||||
index e777278..d2bbfa2 100644
|
||||
--- a/test/geocoders/dotus.py
|
||||
+++ b/test/geocoders/dotus.py
|
||||
@@ -5,9 +5,9 @@
|
||||
from geopy.geocoders import GeocoderDotUS
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['GEOCODERDOTUS_USERNAME'] is not None and \
|
||||
- env['GEOCODERDOTUS_PASSWORD'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('GEOCODERDOTUS_USERNAME')) and \
|
||||
+ bool(env.get('GEOCODERDOTUS_PASSWORD')),
|
||||
"No GEOCODERDOTUS_USERNAME and GEOCODERDOTUS_PASSWORD env variables set"
|
||||
)
|
||||
class GeocoderDotUSTestCase(GeocoderTestBase): # pylint: disable=R0904,C0111
|
||||
diff --git a/test/geocoders/geocodefarm.py b/test/geocoders/geocodefarm.py
|
||||
index 151bac6..ffa28a4 100644
|
||||
--- a/test/geocoders/geocodefarm.py
|
||||
+++ b/test/geocoders/geocodefarm.py
|
||||
@@ -8,8 +8,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['GEOCODEFARM_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('GEOCODEFARM_KEY')),
|
||||
"GEOCODEFARM_KEY env variable not set"
|
||||
)
|
||||
class GeocodeFarmTestCase(GeocoderTestBase): # pylint: disable=R0904,C0111
|
||||
diff --git a/test/geocoders/geonames.py b/test/geocoders/geonames.py
|
||||
index 7ff6f11..3dcc3b4 100644
|
||||
--- a/test/geocoders/geonames.py
|
||||
+++ b/test/geocoders/geonames.py
|
||||
@@ -4,21 +4,23 @@
|
||||
from geopy.geocoders import GeoNames
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['GEONAMES_USERNAME'] is not None,
|
||||
+
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('GEONAMES_USERNAME')),
|
||||
"No GEONAMES_USERNAME env variable set"
|
||||
)
|
||||
class GeoNamesTestCase(GeocoderTestBase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
- cls.geocoder = GeoNames(username=env['GEONAMES_USERNAME'])
|
||||
cls.delta = 0.04
|
||||
|
||||
def test_unicode_name(self):
|
||||
"""
|
||||
GeoNames.geocode unicode
|
||||
"""
|
||||
+ # work around ConfigurationError raised in GeoNames init
|
||||
+ self.geocoder = GeoNames(username=env['GEONAMES_USERNAME'])
|
||||
self.geocode_run(
|
||||
{"query": u"\u6545\u5bab"},
|
||||
{"latitude": 30.90097, "longitude": 118.49436},
|
||||
diff --git a/test/geocoders/mapquest.py b/test/geocoders/mapquest.py
|
||||
index eb12781..03ba4d8 100644
|
||||
--- a/test/geocoders/mapquest.py
|
||||
+++ b/test/geocoders/mapquest.py
|
||||
@@ -5,8 +5,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['MAPQUEST_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('MAPQUEST_KEY')),
|
||||
"No MAPQUEST_KEY env variable set"
|
||||
)
|
||||
class MapQuestTestCase(GeocoderTestBase):
|
||||
diff --git a/test/geocoders/opencage.py b/test/geocoders/opencage.py
|
||||
index c00114f..eb65000 100644
|
||||
--- a/test/geocoders/opencage.py
|
||||
+++ b/test/geocoders/opencage.py
|
||||
@@ -5,8 +5,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['OPENCAGE_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('OPENCAGE_KEY')),
|
||||
"No OPENCAGE_KEY env variables set"
|
||||
)
|
||||
class OpenCageTestCase(GeocoderTestBase):
|
||||
diff --git a/test/geocoders/placefinder.py b/test/geocoders/placefinder.py
|
||||
index 3bf0a66..ed3304f 100644
|
||||
--- a/test/geocoders/placefinder.py
|
||||
+++ b/test/geocoders/placefinder.py
|
||||
@@ -6,8 +6,8 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['YAHOO_KEY'] is not None and env['YAHOO_SECRET'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('YAHOO_KEY')) and bool(env.get('YAHOO_SECRET')),
|
||||
"YAHOO_KEY and YAHOO_SECRET env variables not set"
|
||||
)
|
||||
class YahooPlaceFinderTestCase(GeocoderTestBase): # pylint: disable=R0904,C0111
|
||||
diff --git a/test/geocoders/smartystreets.py b/test/geocoders/smartystreets.py
|
||||
index 83f3b34..ed9e7f2 100644
|
||||
--- a/test/geocoders/smartystreets.py
|
||||
+++ b/test/geocoders/smartystreets.py
|
||||
@@ -5,17 +5,19 @@
|
||||
from test.geocoders.util import GeocoderTestBase, env
|
||||
|
||||
|
||||
-@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
- env['LIVESTREETS_AUTH_KEY'] is not None,
|
||||
+@unittest.skipUnless( # pylint: disable=R0904,C0111
|
||||
+ bool(env.get('LIVESTREETS_AUTH_KEY')),
|
||||
"No LIVESTREETS_AUTH_KEY env variable set"
|
||||
)
|
||||
class LiveAddressTestCase(GeocoderTestBase):
|
||||
- def setUp(self):
|
||||
- self.geocoder = LiveAddress(
|
||||
+
|
||||
+ @classmethod
|
||||
+ def setUpClass(cls):
|
||||
+ cls.geocoder = LiveAddress(
|
||||
auth_token=env['LIVESTREETS_AUTH_KEY'],
|
||||
scheme='http'
|
||||
)
|
||||
- self.delta = 0.04
|
||||
+ cls.delta = 0.04
|
||||
|
||||
def test_geocode(self):
|
||||
"""
|
||||
diff --git a/test/geocoders/util.py b/test/geocoders/util.py
|
||||
index 4a130f1..7de103d 100644
|
||||
--- a/test/geocoders/util.py
|
||||
+++ b/test/geocoders/util.py
|
||||
@@ -12,6 +12,9 @@
|
||||
env.update(json.loads(fp.read()))
|
||||
except IOError:
|
||||
keys = (
|
||||
+ 'ARCGIS_USERNAME',
|
||||
+ 'ARCGIS_PASSWORD',
|
||||
+ 'ARCGIS_REFERER',
|
||||
'YAHOO_KEY',
|
||||
'YAHOO_SECRET',
|
||||
'BING_KEY',
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/geopy/geocoders/placefinder.py b/geopy/geocoders/placefinder.py
|
||||
index 97950fe..814dbaf 100644
|
||||
--- a/geopy/geocoders/placefinder.py
|
||||
+++ b/geopy/geocoders/placefinder.py
|
||||
@@ -71,7 +71,6 @@ def __init__(
|
||||
client_secret=self.consumer_secret,
|
||||
signature_method=u"HMAC-SHA1",
|
||||
signature_type=u"AUTH_HEADER",
|
||||
- encoding=None # already UTF-8
|
||||
)
|
||||
self.api = "https://yboss.yahooapis.com/geo/placefinder"
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python{3_3,3_4,3_5} )
|
||||
|
||||
inherit eutils python-r1
|
||||
|
||||
DESCRIPTION="A Python Interface to GStreamer"
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
|
||||
>=media-libs/gstreamer-${PV}:1.0[introspection]
|
||||
>=media-libs/gst-plugins-base-${PV}:1.0[introspection]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
prepare_gst() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
}
|
||||
python_foreach_impl prepare_gst
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
prune_libtool_files --modules
|
||||
einstalldocs
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
diff -ur http-parser-0.7.8.orig/setup.py http-parser-0.7.8/setup.py
|
||||
--- setup.py 2012-08-05 11:14:22.000000000 +0800
|
||||
+++ setup.py 2013-01-21 01:54:23.748530621 +0800
|
||||
@@ -10,7 +10,7 @@
|
||||
from distutils.command.sdist import sdist as _sdist
|
||||
import glob
|
||||
from imp import load_source
|
||||
-import os
|
||||
+import os, io
|
||||
import shutil
|
||||
import sys
|
||||
import traceback
|
||||
@@ -49,7 +49,7 @@
|
||||
VERSION = http_parser.__version__
|
||||
|
||||
# get long description
|
||||
-with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
|
||||
+with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f:
|
||||
LONG_DESCRIPTION = f.read()
|
||||
|
||||
def _system(cmd):
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff --git a/jinja2/environment.py b/jinja2/environment.py
|
||||
index ebb5454..1b5dc40 100644
|
||||
--- a/jinja2/environment.py
|
||||
+++ b/jinja2/environment.py
|
||||
@@ -570,6 +570,10 @@ class Environment(object):
|
||||
py_header = imp.get_magic() + \
|
||||
u'\xff\xff\xff\xff'.encode('iso-8859-15')
|
||||
|
||||
+ # Python 3.3 added a source filesize to the header
|
||||
+ if sys.version_info >= (3, 3):
|
||||
+ py_header += u'\x00\x00\x00\x00'.encode('iso-8859-15')
|
||||
+
|
||||
def write_file(filename, data, mode):
|
||||
if zip:
|
||||
info = ZipInfo(filename)
|
@ -1,31 +0,0 @@
|
||||
From 865a813078c1b447713aeb1f1bb860c441a88365 Mon Sep 17 00:00:00 2001
|
||||
From: Jon Salz <jsalz@chromium.org>
|
||||
Date: Fri, 20 Apr 2012 02:41:50 +0800
|
||||
Subject: [PATCH] Fix importing of nested modules.
|
||||
|
||||
https://github.com/joshmarshall/jsonrpclib/issues/15
|
||||
---
|
||||
jsonrpclib/jsonclass.py | 7 +++++++
|
||||
1 files changed, 7 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/jsonrpclib/jsonclass.py b/jsonrpclib/jsonclass.py
|
||||
index 298c3da..1d86d5f 100644
|
||||
--- a/jsonrpclib/jsonclass.py
|
||||
+++ b/jsonrpclib/jsonclass.py
|
||||
@@ -129,6 +129,13 @@ def load(obj):
|
||||
except ImportError:
|
||||
raise TranslationError('Could not import %s from module %s.' %
|
||||
(json_class_name, json_module_tree))
|
||||
+
|
||||
+ # The returned class is the top-level module, not the one we really
|
||||
+ # want. (E.g., if we import a.b.c, we now have a.) Walk through other
|
||||
+ # path components to get to b and c.
|
||||
+ for i in json_module_parts[1:]:
|
||||
+ temp_module = getattr(temp_module, i)
|
||||
+
|
||||
json_class = getattr(temp_module, json_class_name)
|
||||
# Creating the object...
|
||||
new_obj = None
|
||||
--
|
||||
1.7.3.4
|
||||
|
@ -1,50 +0,0 @@
|
||||
From 41dc7b9af1841b0005051ad81ab36ed2e062d663 Mon Sep 17 00:00:00 2001
|
||||
From: Rotem Yaari <vmalloc@gmail.com>
|
||||
Date: Sat, 17 Aug 2013 22:43:39 +0300
|
||||
Subject: [PATCH] #91: Fix broken tests on pypy
|
||||
|
||||
---
|
||||
.travis.yml | 1 +
|
||||
tests/test_logbook.py | 2 +-
|
||||
tox.ini | 2 +-
|
||||
3 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/.travis.yml b/.travis.yml
|
||||
index ee3f457..b0aaea6 100644
|
||||
--- a/.travis.yml
|
||||
+++ b/.travis.yml
|
||||
@@ -3,6 +3,7 @@ python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
+ - "pypy"
|
||||
|
||||
install:
|
||||
# this fixes SemLock issues on travis
|
||||
diff --git a/tests/test_logbook.py b/tests/test_logbook.py
|
||||
index 6d1a301..a1da11c 100644
|
||||
--- a/tests/test_logbook.py
|
||||
+++ b/tests/test_logbook.py
|
||||
@@ -99,7 +99,7 @@ def make_record():
|
||||
|
||||
errormsg = str(caught.exception)
|
||||
self.assertRegexpMatches(errormsg,
|
||||
- "Could not format message with provided arguments: Invalid (?:format specifier)|(?:conversion specification)")
|
||||
+ "Could not format message with provided arguments: Invalid (?:format specifier)|(?:conversion specification)|(?:format spec)")
|
||||
self.assertIn("msg='Hello {foo:invalid}'", errormsg)
|
||||
self.assertIn('args=()', errormsg)
|
||||
self.assertIn("kwargs={'foo': 42}", errormsg)
|
||||
diff --git a/tox.ini b/tox.ini
|
||||
index 694cd51..2b52a28 100644
|
||||
--- a/tox.ini
|
||||
+++ b/tox.ini
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
-envlist=py26,py27,py33,docs
|
||||
+envlist=py26,py27,py33,pypy,docs
|
||||
|
||||
[testenv]
|
||||
commands=
|
||||
--
|
||||
1.8.1.6
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff -ur Mako-0.7.0.orig/test/test_template.py Mako-0.7.0/test/test_template.py
|
||||
--- test/test_template.py 2012-03-31 07:52:02.000000000 +0800
|
||||
+++ test/test_template.py 2012-04-11 20:25:23.797168875 +0800
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
-
|
||||
+from __future__ import with_statement
|
||||
from mako.template import Template, ModuleTemplate
|
||||
from mako.lookup import TemplateLookup
|
||||
from mako.ext.preprocessors import convert_comments
|
||||
|
@ -1,80 +0,0 @@
|
||||
https://github.com/waylan/Python-Markdown/issues/112
|
||||
https://github.com/waylan/Python-Markdown/commit/5b3e724fb78da73ab87fb34e4ac9d9299773cfed
|
||||
|
||||
--- markdown/__init__.py
|
||||
+++ markdown/__init__.py
|
||||
@@ -37,6 +37,7 @@
|
||||
import codecs
|
||||
import sys
|
||||
import logging
|
||||
+import warnings
|
||||
import util
|
||||
from preprocessors import build_preprocessors
|
||||
from blockprocessors import build_block_parser
|
||||
@@ -163,10 +164,10 @@
|
||||
if isinstance(ext, basestring):
|
||||
ext = self.build_extension(ext, configs.get(ext, []))
|
||||
if isinstance(ext, Extension):
|
||||
- # might raise NotImplementedError, but that's the extension author's problem
|
||||
ext.extendMarkdown(self, globals())
|
||||
elif ext is not None:
|
||||
- raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \
|
||||
+ raise TypeError(
|
||||
+ 'Extension "%s.%s" must be of type: "markdown.Extension"'
|
||||
% (ext.__class__.__module__, ext.__class__.__name__))
|
||||
|
||||
return self
|
||||
@@ -200,19 +201,22 @@
|
||||
module_name_old_style = '_'.join(['mdx', ext_name])
|
||||
try: # Old style (mdx_<extension>)
|
||||
module = __import__(module_name_old_style)
|
||||
- except ImportError:
|
||||
- logger.warn("Failed loading extension '%s' from '%s' or '%s'"
|
||||
- % (ext_name, module_name, module_name_old_style))
|
||||
- # Return None so we don't try to initiate none-existant extension
|
||||
- return None
|
||||
+ except ImportError, e:
|
||||
+ message = "Failed loading extension '%s' from '%s' or '%s'" \
|
||||
+ % (ext_name, module_name, module_name_old_style)
|
||||
+ e.args = (message,) + e.args[1:]
|
||||
+ raise
|
||||
|
||||
# If the module is loaded successfully, we expect it to define a
|
||||
# function called makeExtension()
|
||||
try:
|
||||
return module.makeExtension(configs.items())
|
||||
except AttributeError, e:
|
||||
- logger.warn("Failed to initiate extension '%s': %s" % (ext_name, e))
|
||||
- return None
|
||||
+ message = e.args[0]
|
||||
+ message = "Failed to initiate extension " \
|
||||
+ "'%s': %s" % (ext_name, message)
|
||||
+ e.args = (message,) + e.args[1:]
|
||||
+ raise
|
||||
|
||||
def registerExtension(self, extension):
|
||||
""" This gets called by the extension """
|
||||
--- tests/test_apis.py
|
||||
+++ tests/test_apis.py
|
||||
@@ -245,18 +245,18 @@
|
||||
|
||||
def testLoadExtensionFailure(self):
|
||||
""" Test failure of an extension to load. """
|
||||
- self.assertRaises(ValueError,
|
||||
+ self.assertRaises(ImportError,
|
||||
markdown.Markdown, extensions=['non_existant_ext'])
|
||||
|
||||
def testLoadBadExtension(self):
|
||||
""" Test loading of an Extension with no makeExtension function. """
|
||||
_create_fake_extension(name='fake', has_factory_func=False)
|
||||
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
|
||||
+ self.assertRaises(AttributeError, markdown.Markdown, extensions=['fake'])
|
||||
|
||||
def testNonExtension(self):
|
||||
""" Test loading a non Extension object as an extension. """
|
||||
_create_fake_extension(name='fake', is_wrong_type=True)
|
||||
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
|
||||
+ self.assertRaises(TypeError, markdown.Markdown, extensions=['fake'])
|
||||
|
||||
def testBaseExtention(self):
|
||||
""" Test that the base Extension class will raise NotImplemented. """
|
@ -1,21 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Peter Sagerson <psagers.hg@ignorare.net>
|
||||
# Date 1392920906 28800
|
||||
# Node ID 6433fd7dc97473150114c06a90d189a62a39951f
|
||||
# Parent f298b032a25ef6c2bcc6749d9bf096352a49f37d
|
||||
Fix tests to match the recent modify_s change.
|
||||
|
||||
diff --git a/src/mockldap/tests.py b/src/mockldap/tests.py
|
||||
--- a/src/mockldap/tests.py
|
||||
+++ b/src/mockldap/tests.py
|
||||
@@ -453,8 +453,8 @@
|
||||
|
||||
self.ldapobj.modify_s(manager[0], mod_list)
|
||||
|
||||
- self.assertNotIn('objectClass',
|
||||
- self.ldapobj.directory[manager[0]].keys())
|
||||
+ self.assertEqual(self.ldapobj.directory[manager[0]]['objectClass'],
|
||||
+ [])
|
||||
|
||||
def test_modify_s_invalid_dn(self):
|
||||
mod_list = [(ldap.MOD_DELETE, 'objectClass', None)]
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2 python
|
||||
|
||||
DESCRIPTION="Python bindings for the Nautilus file manager"
|
||||
HOMEPAGE="https://projects.gnome.org/nautilus-python/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
# Depend on pygobject:3 for sanity, and because it's automagic
|
||||
RDEPEND="dev-python/pygobject:3
|
||||
>=gnome-base/nautilus-2.32[introspection]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gtk-doc-1.9 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
# Directory for systemwide extensions
|
||||
keepdir /usr/share/nautilus-python/extensions/
|
||||
# Doesn't get installed by "make install" for some reason
|
||||
if use doc; then
|
||||
insinto /usr/share/gtk-doc/html/nautilus-python # for dev-util/devhelp
|
||||
doins -r docs/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
python_need_rebuild
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Mike Gilbert <floppym@gentoo.org>
|
||||
# Date 1353179174 18000
|
||||
# Node ID 814fbc493e7a9999086127f64c2406ecb1794990
|
||||
# Parent 510ff7d7627750eb0dbbc0d36fa63c72ffa6b303
|
||||
Exclude subpackages of tests.
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -61,7 +61,7 @@
|
||||
url="http://pythonpaste.org/script/",
|
||||
namespace_packages=['paste'],
|
||||
license='MIT',
|
||||
- packages=find_packages(exclude='tests'),
|
||||
+ packages=find_packages(exclude=['tests','tests.*']),
|
||||
package_data={
|
||||
'paste.script': ['paster-templates/basic_package/setup.*',
|
||||
'paster-templates/basic_package/tests/*.py',
|
@ -1,34 +0,0 @@
|
||||
From 1b9641cd841fe5d22ba4c5ef4198e47995c74f04 Mon Sep 17 00:00:00 2001
|
||||
From: Almad <bugs@almad.net>
|
||||
Date: Wed, 27 Feb 2013 02:56:12 +0100
|
||||
Subject: [PATCH] Skip cog tests if tests are not installed (refs #93)
|
||||
|
||||
---
|
||||
paver/tests/test_doctools.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/paver/tests/test_doctools.py b/paver/tests/test_doctools.py
|
||||
index bc0cf8c..6104b3f 100644
|
||||
--- a/paver/tests/test_doctools.py
|
||||
+++ b/paver/tests/test_doctools.py
|
||||
@@ -137,6 +137,8 @@ def test_include_lookup():
|
||||
""", "Second was '%s'" % (second)
|
||||
|
||||
def test_cogging():
|
||||
+ if not paver.doctools.has_cog:
|
||||
+ raise SkipTest("Cog must be installed for this test")
|
||||
_no25()
|
||||
env = tasks.Environment(doctools)
|
||||
tasks.environment = env
|
||||
@@ -159,6 +161,8 @@ def test_cogging():
|
||||
assert "print sys.path" not in data
|
||||
|
||||
def test_cogging_with_markers_removed():
|
||||
+ if not paver.doctools.has_cog:
|
||||
+ raise SkipTest("Cog must be installed for this test")
|
||||
_no25()
|
||||
env = tasks.Environment(doctools)
|
||||
tasks.environment = env
|
||||
--
|
||||
1.7.10
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- PIL/ImageShow.py.old 2009-11-30 10:28:37.000000000 +0100
|
||||
+++ PIL/ImageShow.py 2009-11-30 10:29:02.000000000 +0100
|
||||
@@ -149,13 +149,10 @@
|
||||
def get_command_ex(self, file, title=None, **options):
|
||||
# note: xv is pretty outdated. most modern systems have
|
||||
# imagemagick's display command instead.
|
||||
- command = executable = "xv"
|
||||
- if title:
|
||||
- # FIXME: do full escaping
|
||||
- command = command + " -name \"%s\"" % title
|
||||
+ command = executable = "xdg-open"
|
||||
return command, executable
|
||||
|
||||
- if which("xv"):
|
||||
+ if which("xdg-open"):
|
||||
register(XVViewer)
|
||||
|
||||
if __name__ == "__main__":
|
@ -1,178 +0,0 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -56,11 +56,6 @@
|
||||
return None
|
||||
|
||||
|
||||
-def _lib_include(root):
|
||||
- # map root to (root/lib, root/include)
|
||||
- return os.path.join(root, "lib"), os.path.join(root, "include")
|
||||
-
|
||||
-
|
||||
def _read(file):
|
||||
return open(file, 'rb').read()
|
||||
|
||||
@@ -105,102 +100,17 @@
|
||||
_add_directory(include_dirs, include_root)
|
||||
|
||||
#
|
||||
- # add platform directories
|
||||
-
|
||||
- if sys.platform == "cygwin":
|
||||
- # pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory
|
||||
- _add_directory(library_dirs, os.path.join(
|
||||
- "/usr/lib", "python%s" % sys.version[:3], "config"))
|
||||
-
|
||||
- elif sys.platform == "darwin":
|
||||
- # attempt to make sure we pick freetype2 over other versions
|
||||
- _add_directory(include_dirs, "/sw/include/freetype2")
|
||||
- _add_directory(include_dirs, "/sw/lib/freetype2/include")
|
||||
- # fink installation directories
|
||||
- _add_directory(library_dirs, "/sw/lib")
|
||||
- _add_directory(include_dirs, "/sw/include")
|
||||
- # darwin ports installation directories
|
||||
- _add_directory(library_dirs, "/opt/local/lib")
|
||||
- _add_directory(include_dirs, "/opt/local/include")
|
||||
- # freetype2 ships with X11
|
||||
- _add_directory(library_dirs, "/usr/X11/lib")
|
||||
- _add_directory(include_dirs, "/usr/X11/include")
|
||||
-
|
||||
- elif sys.platform.startswith("linux"):
|
||||
- for platform_ in (platform.processor(),platform.architecture()[0]):
|
||||
- if not platform_: continue
|
||||
-
|
||||
- if platform_ in ["x86_64", "64bit"]:
|
||||
- _add_directory(library_dirs, "/lib64")
|
||||
- _add_directory(library_dirs, "/usr/lib64")
|
||||
- _add_directory(library_dirs, "/usr/lib/x86_64-linux-gnu")
|
||||
- break
|
||||
- elif platform_ in ["i386", "i686", "32bit"]:
|
||||
- _add_directory(library_dirs, "/usr/lib/i386-linux-gnu")
|
||||
- break
|
||||
- else:
|
||||
- raise ValueError("Unable to identify Linux platform: `%s`" % platform_)
|
||||
-
|
||||
- # XXX Kludge. Above /\ we brute force support multiarch. Here we
|
||||
- # try Barry's more general approach. Afterward, something should
|
||||
- # work ;-)
|
||||
- self.add_multiarch_paths()
|
||||
-
|
||||
- _add_directory(library_dirs, "/usr/local/lib")
|
||||
- # FIXME: check /opt/stuff directories here?
|
||||
-
|
||||
- prefix = sysconfig.get_config_var("prefix")
|
||||
- if prefix:
|
||||
- _add_directory(library_dirs, os.path.join(prefix, "lib"))
|
||||
- _add_directory(include_dirs, os.path.join(prefix, "include"))
|
||||
-
|
||||
- #
|
||||
# locate tkinter libraries
|
||||
|
||||
|
||||
if _tkinter:
|
||||
TCL_VERSION = _tkinter.TCL_VERSION[:3]
|
||||
|
||||
- if _tkinter and not TCL_ROOT:
|
||||
- # we have Tkinter but the TCL_ROOT variable was not set;
|
||||
- # try to locate appropriate Tcl/Tk libraries
|
||||
- PYVERSION = sys.version[0] + sys.version[2]
|
||||
- TCLVERSION = TCL_VERSION[0] + TCL_VERSION[2]
|
||||
- roots = [
|
||||
- # common installation directories, mostly for Windows
|
||||
- # (for Unix-style platforms, we'll check in well-known
|
||||
- # locations later)
|
||||
- os.path.join("/py" + PYVERSION, "Tcl"),
|
||||
- os.path.join("/python" + PYVERSION, "Tcl"),
|
||||
- "/Tcl", "/Tcl" + TCLVERSION, "/Tcl" + TCL_VERSION,
|
||||
- os.path.join(os.environ.get("ProgramFiles", ""), "Tcl"),
|
||||
- ]
|
||||
- for TCL_ROOT in roots:
|
||||
- TCL_ROOT = os.path.abspath(TCL_ROOT)
|
||||
- if os.path.isfile(os.path.join(TCL_ROOT, "include", "tk.h")):
|
||||
- # FIXME: use distutils logging (?)
|
||||
- print("--- using Tcl/Tk libraries at", TCL_ROOT)
|
||||
- print("--- using Tcl/Tk version", TCL_VERSION)
|
||||
- TCL_ROOT = _lib_include(TCL_ROOT)
|
||||
- break
|
||||
- else:
|
||||
- TCL_ROOT = None
|
||||
-
|
||||
|
||||
#
|
||||
# add standard directories
|
||||
|
||||
- # look for tcl specific subdirectory (e.g debian)
|
||||
- if _tkinter:
|
||||
- tcl_dir = "/usr/include/tcl" + TCL_VERSION
|
||||
- if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
|
||||
- _add_directory(include_dirs, tcl_dir)
|
||||
-
|
||||
# standard locations
|
||||
- _add_directory(library_dirs, "/usr/local/lib")
|
||||
- _add_directory(include_dirs, "/usr/local/include")
|
||||
-
|
||||
- _add_directory(library_dirs, "/usr/lib")
|
||||
_add_directory(include_dirs, "/usr/include")
|
||||
|
||||
#
|
||||
@@ -333,28 +243,7 @@
|
||||
"_webp", ["_webp.c"], libraries=["webp"]))
|
||||
|
||||
|
||||
- if sys.platform == "darwin":
|
||||
- # locate Tcl/Tk frameworks
|
||||
- frameworks = []
|
||||
- framework_roots = [
|
||||
- "/Library/Frameworks",
|
||||
- "/System/Library/Frameworks"]
|
||||
- for root in framework_roots:
|
||||
- if (os.path.exists(os.path.join(root, "Tcl.framework")) and
|
||||
- os.path.exists(os.path.join(root, "Tk.framework"))):
|
||||
- print("--- using frameworks at %s" % root)
|
||||
- frameworks = ["-framework", "Tcl", "-framework", "Tk"]
|
||||
- dir = os.path.join(root, "Tcl.framework", "Headers")
|
||||
- _add_directory(self.compiler.include_dirs, dir, 0)
|
||||
- dir = os.path.join(root, "Tk.framework", "Headers")
|
||||
- _add_directory(self.compiler.include_dirs, dir, 1)
|
||||
- break
|
||||
- if frameworks:
|
||||
- exts.append(Extension(
|
||||
- "_imagingtk", ["_imagingtk.c", "Tk/tkImaging.c"],
|
||||
- extra_compile_args=frameworks, extra_link_args=frameworks))
|
||||
- feature.tcl = feature.tk = 1 # mark as present
|
||||
- elif feature.tcl and feature.tk:
|
||||
+ if feature.tcl and feature.tk:
|
||||
exts.append(Extension(
|
||||
"_imagingtk", ["_imagingtk.c", "Tk/tkImaging.c"],
|
||||
libraries=[feature.tcl, feature.tk]))
|
||||
@@ -445,30 +334,6 @@
|
||||
if m.group(1) < "1.2.3":
|
||||
return m.group(1)
|
||||
|
||||
- # http://hg.python.org/users/barry/rev/7e8deab93d5a
|
||||
- def add_multiarch_paths(self):
|
||||
- # Debian/Ubuntu multiarch support.
|
||||
- # https://wiki.ubuntu.com/MultiarchSpec
|
||||
- # self.build_temp
|
||||
- tmpfile = os.path.join(self.build_temp, 'multiarch')
|
||||
- if not os.path.exists(self.build_temp):
|
||||
- os.makedirs(self.build_temp)
|
||||
- ret = os.system('dpkg-architecture -qDEB_HOST_MULTIARCH > %s' %
|
||||
- tmpfile)
|
||||
- ret = os.system(
|
||||
- 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
|
||||
- tmpfile)
|
||||
- try:
|
||||
- if ret >> 8 == 0:
|
||||
- fp = open(tmpfile, 'r')
|
||||
- multiarch_path_component = fp.readline().strip()
|
||||
- _add_directory(self.compiler.library_dirs,
|
||||
- '/usr/lib/' + multiarch_path_component)
|
||||
- _add_directory(self.compiler.include_dirs,
|
||||
- '/usr/include/' + multiarch_path_component)
|
||||
- finally:
|
||||
- os.unlink(tmpfile)
|
||||
-
|
||||
setup(
|
||||
name=NAME,
|
||||
version=VERSION,
|
@ -1,20 +0,0 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -197,7 +197,7 @@
|
||||
for file in _LIB_IMAGING:
|
||||
files.append(os.path.join("libImaging", file + ".c"))
|
||||
|
||||
- libs = []
|
||||
+ libs = ["m"]
|
||||
defs = []
|
||||
if feature.jpeg:
|
||||
libs.append(feature.jpeg)
|
||||
@@ -249,7 +249,7 @@
|
||||
libraries=[feature.tcl, feature.tk]))
|
||||
|
||||
if os.path.isfile("_imagingmath.c"):
|
||||
- exts.append(Extension("_imagingmath", ["_imagingmath.c"]))
|
||||
+ exts.append(Extension("_imagingmath", ["_imagingmath.c"], libraries=["m"]))
|
||||
|
||||
self.extensions[:] = exts
|
||||
|
@ -1,28 +0,0 @@
|
||||
From c6040f618d8f2706a7b46d1cdf37d1a587f9701f Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Stromnov <stromnov@gmail.com>
|
||||
Date: Thu, 28 Nov 2013 16:58:43 +0400
|
||||
Subject: [PATCH] fix compiling with FreeType 2.5.1
|
||||
|
||||
---
|
||||
_imagingft.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/_imagingft.c b/_imagingft.c
|
||||
index 47d50bd..f19555b 100644
|
||||
--- a/_imagingft.c
|
||||
+++ b/_imagingft.c
|
||||
@@ -59,7 +59,11 @@ struct {
|
||||
const char* message;
|
||||
} ft_errors[] =
|
||||
|
||||
+#if defined(USE_FREETYPE_2_1)
|
||||
+#include FT_ERRORS_H
|
||||
+#else
|
||||
#include <freetype/fterrors.h>
|
||||
+#endif
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/* font objects */
|
||||
--
|
||||
1.8.5.1
|
||||
|
@ -1,54 +0,0 @@
|
||||
Source: http://github.com/nanotube/pmw_fixes/commit/5e6dcbdaef2bb6c40037b922dd0efa081f1575ab (Daniel Folkinshteyn)
|
||||
|
||||
fix bug in OptionMenu.setitems, introduced with the fixing of this python
|
||||
bug:
|
||||
http://bugs.python.org/issue1342811
|
||||
|
||||
versions of python 2.5.4 and newer now automatically delete commands when
|
||||
items are deleted
|
||||
however, that causes error if the command is deleted manually beforehand.
|
||||
old versions, on the contrary, require manual command deletion to free up
|
||||
the objects.
|
||||
|
||||
so we put in a python version check to see if we need to manually delete
|
||||
commands.
|
||||
|
||||
fixes the Pmw bug referred to here:
|
||||
https://sourceforge.net/forum/forum.php?thread_id=3283195&forum_id=33675
|
||||
and here:
|
||||
https://sourceforge.net/tracker/?func=detail&aid=2795731&group_id=10743&ati
|
||||
d=110743
|
||||
|
||||
--- a/src/Pmw/Pmw_1_3/lib/PmwOptionMenu.py
|
||||
+++ b/src/Pmw/Pmw_1_3/lib/PmwOptionMenu.py
|
||||
@@ -1,6 +1,7 @@
|
||||
import types
|
||||
import Tkinter
|
||||
import Pmw
|
||||
+import sys
|
||||
|
||||
class OptionMenu(Pmw.MegaWidget):
|
||||
|
||||
@@ -59,11 +60,17 @@ class OptionMenu(Pmw.MegaWidget):
|
||||
|
||||
def setitems(self, items, index = None):
|
||||
|
||||
- # Clean up old items and callback commands.
|
||||
- for oldIndex in range(len(self._itemList)):
|
||||
- tclCommandName = str(self._menu.entrycget(oldIndex, 'command'))
|
||||
- if tclCommandName != '':
|
||||
- self._menu.deletecommand(tclCommandName)
|
||||
+ # python version check
|
||||
+ # python versions >= 2.5.4 automatically clean commands
|
||||
+ # and manually cleaning them causes errors when deleting items
|
||||
+
|
||||
+ if sys.version_info[0] * 100 + sys.version_info[1] * 10 + \
|
||||
+ sys.version_info[2] < 254:
|
||||
+ # Clean up old items and callback commands.
|
||||
+ for oldIndex in range(len(self._itemList)):
|
||||
+ tclCommandName = str(self._menu.entrycget(oldIndex, 'command'))
|
||||
+ if tclCommandName != '':
|
||||
+ self._menu.deletecommand(tclCommandName)
|
||||
self._menu.delete(0, 'end')
|
||||
self._itemList = list(items)
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff -uNr Pmw.1.3.2.orig/src/setup.py Pmw.1.3.2/src/setup.py
|
||||
--- Pmw.1.3.2.orig/src/setup.py 2008-08-02 15:40:19.000000000 -0430
|
||||
+++ Pmw.1.3.2/src/setup.py 2008-08-02 15:40:36.000000000 -0430
|
||||
@@ -16,9 +16,7 @@
|
||||
'Pmw.Pmw_1_3.lib',],
|
||||
|
||||
package_data={'Pmw': ['Pmw_1_3/lib/Pmw.def',
|
||||
- 'Pmw_1_3/doc/*',
|
||||
'Pmw_1_3/contrib/*',
|
||||
- 'Pmw_1_3/demos/*',
|
||||
'Pmw_1_3/tests/*',
|
||||
'Pmw_1_3/bin/*',
|
||||
]
|
@ -1,32 +0,0 @@
|
||||
diff -Naur python/setup.py python/setup.py
|
||||
--- python/setup.py 2015-12-30 22:21:46.000000000 +0100
|
||||
+++ python/setup.py 2016-04-18 00:51:49.490809789 +0200
|
||||
@@ -169,14 +169,26 @@
|
||||
extra_compile_args.append('-Werror')
|
||||
sys.argv.remove(warnings_as_errors)
|
||||
|
||||
+ inclD = ['.', '../src']
|
||||
+ libD = []
|
||||
+ try:
|
||||
+ subprocess.check_call(['pkg-config', '--exists', 'protobuf'])
|
||||
+ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).split()
|
||||
+ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).split()
|
||||
+ except OSError as osex:
|
||||
+ if osex.errno == errno.ENOENT:
|
||||
+ info('pkg-config not found')
|
||||
+ else:
|
||||
+ warn("Running pkg-config failed - %s." % osexception)
|
||||
+ libD = ['../src/.libs']
|
||||
# C++ implementation extension
|
||||
ext_module_list.append(
|
||||
Extension(
|
||||
"google.protobuf.pyext._message",
|
||||
glob.glob('google/protobuf/pyext/*.cc'),
|
||||
- include_dirs=[".", "../src"],
|
||||
+ include_dirs=inclD,
|
||||
libraries=['protobuf'],
|
||||
- library_dirs=['../src/.libs'],
|
||||
+ library_dirs=libD,
|
||||
extra_compile_args=extra_compile_args,
|
||||
)
|
||||
)
|
@ -1,13 +0,0 @@
|
||||
round() is available on Solaris
|
||||
|
||||
--- psycopg/config.h
|
||||
+++ psycopg/config.h
|
||||
@@ -102,7 +102,7 @@
|
||||
#define inline
|
||||
#endif
|
||||
|
||||
-#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
|
||||
+#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) || (defined(_WIN32) && !defined(__GNUC__))
|
||||
/* what's this, we have no round function either? */
|
||||
static double round(double num)
|
||||
{
|
@ -1,34 +0,0 @@
|
||||
X-Git-Url: https://dndg.it/cgi-bin/gitweb.cgi?p=public%2Fpsycopg2.git;a=blobdiff_plain;f=psycopg%2Fpqpath.c;h=1f0d5da95bd88aa4d5468874047e4b0139ffadd3;hp=cee5ce4c9c053981710959ca28b7e68702c44a97;hb=de6f2ac387231fcd57c05031c82471ea57255e2b;hpb=d9fce1f837151e6eadfd8ca761ef328a721198bd
|
||||
|
||||
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c
|
||||
index cee5ce4..1f0d5da 100644
|
||||
--- a/psycopg/pqpath.c
|
||||
+++ b/psycopg/pqpath.c
|
||||
@@ -344,11 +344,13 @@ pq_execute_command_locked(connectionObject *conn, const char *query,
|
||||
}
|
||||
if (*pgres == NULL) {
|
||||
Dprintf("pq_execute_command_locked: PQexec returned NULL");
|
||||
+ PyEval_RestoreThread(*tstate);
|
||||
if (!PyErr_Occurred()) {
|
||||
const char *msg;
|
||||
msg = PQerrorMessage(conn->pgconn);
|
||||
if (msg && *msg) { *error = strdup(msg); }
|
||||
}
|
||||
+ *tstate = PyEval_SaveThread();
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@@ -635,11 +637,13 @@ pq_get_guc_locked(
|
||||
|
||||
if (*pgres == NULL) {
|
||||
Dprintf("pq_get_guc_locked: PQexec returned NULL");
|
||||
+ PyEval_RestoreThread(*tstate);
|
||||
if (!PyErr_Occurred()) {
|
||||
const char *msg;
|
||||
msg = PQerrorMessage(conn->pgconn);
|
||||
if (msg && *msg) { *error = strdup(msg); }
|
||||
}
|
||||
+ *tstate = PyEval_SaveThread();
|
||||
goto cleanup;
|
||||
}
|
||||
if (PQresultStatus(*pgres) != PGRES_TUPLES_OK) {
|
@ -1,23 +0,0 @@
|
||||
funtests/run_all.py | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/funtests/run_all.py b/funtests/run_all.py
|
||||
index b5b7cb6..febe6ad 100755
|
||||
--- a/funtests/run_all.py
|
||||
+++ b/funtests/run_all.py
|
||||
@@ -27,11 +27,7 @@ import settings
|
||||
TEST_NAMES = [
|
||||
'test_exceptions',
|
||||
'test_serialization',
|
||||
- 'test_basic_message',
|
||||
- 'test_connection',
|
||||
- 'test_channel',
|
||||
- 'test_with',
|
||||
- ]
|
||||
+ 'test_basic_message']
|
||||
|
||||
def main():
|
||||
suite = unittest.TestLoader().loadTestsFromNames(TEST_NAMES)
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -1,18 +0,0 @@
|
||||
Description: Use all versions for py.test
|
||||
This patch changes py.test script to use all versions of Python 3 command
|
||||
instead of python.
|
||||
Author: Koichi Akabe <vbkaisetsu@gmail.com>
|
||||
Last-Update: <2012-04-12>
|
||||
|
||||
--- py3cairo-1.10.0+dfsg.orig/test/examples_test.py
|
||||
+++ py3cairo-1.10.0+dfsg/test/examples_test.py
|
||||
@@ -14,7 +14,8 @@ def test_snippets():
|
||||
examples/cairo_snippets/snippets/
|
||||
'''
|
||||
def doSnippets(name):
|
||||
- retcode = subprocess.call('python %s -s' % name, shell=True)
|
||||
+ import sys
|
||||
+ retcode = subprocess.call('PYTHONPATH=../../test python%d.%d %s -s' % (sys.version_info[0], sys.version_info[1], name), shell=True)
|
||||
assert retcode == 0, 'Error: retcode == {0}'.format(retcode)
|
||||
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), '..', 'examples',
|
@ -1,29 +0,0 @@
|
||||
Description: don't link libpython
|
||||
This patch removes dependency to libpython
|
||||
Author: Matthias Klose <doko@ubuntu.com>
|
||||
Origin: http://launchpadlibrarian.net/166876566/py3cairo_1.10.0%2Bdfsg-3build2_1.10.0%2Bdfsg-3ubuntu1.diff.gz
|
||||
Bug-Debian: http://bugs.debian.org/739607
|
||||
Last-Update: 2014-02-20
|
||||
|
||||
--- py3cairo-1.10.0+dfsg.orig/waflib/Tools/python.py
|
||||
+++ py3cairo-1.10.0+dfsg/waflib/Tools/python.py
|
||||
@@ -155,8 +155,10 @@ def check_python_headers(conf):
|
||||
if result:
|
||||
break
|
||||
if result:
|
||||
- env['LIBPATH_PYEMBED']=path
|
||||
- env.append_value('LIB_PYEMBED',[name])
|
||||
+ # don't link libpython explicitly
|
||||
+ #env['LIBPATH_PYEMBED']=path
|
||||
+ #env.append_value('LIB_PYEMBED',[name])
|
||||
+ pass
|
||||
else:
|
||||
conf.to_log("\n\n### LIB NOT FOUND\n")
|
||||
if(sys.platform=='win32'or sys.platform.startswith('os2')or sys.platform=='darwin'or dct['Py_ENABLE_SHARED']):
|
||||
@@ -278,4 +280,4 @@ feature('pyembed')(init_pyembed)
|
||||
conf(get_python_variables)
|
||||
conf(check_python_headers)
|
||||
conf(check_python_version)
|
||||
-conf(check_python_module)
|
||||
\ No newline at end of file
|
||||
+conf(check_python_module)
|
@ -1,11 +0,0 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -109,7 +109,7 @@
|
||||
ext_modules = [cairo],
|
||||
data_files = [
|
||||
('include/pycairo', ['src/pycairo.h']),
|
||||
- ('lib/pkgconfig', [pkgconfig_file]),
|
||||
+ (os.environ.get('PKGCONFIG_DIR', 'lib/pkgconfig'), [pkgconfig_file]),
|
||||
(os.path.join(dsy.get_python_lib(), 'cairo'),
|
||||
['src/__init__.py']),
|
||||
],
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue