This commit is contained in:
layman 2018-09-17 09:38:55 +02:00
commit 32f884fb82
24 changed files with 921 additions and 34 deletions

View File

@ -1,7 +1,9 @@
AUX 0.5.1-LCDd.initd 533 SHA256 207eaa9062964ec0fb721da792ed0d2f10db3a31a1d7663097679b7d414ed243 SHA512 66e6ac519ca9919dc1321cdfbac3c8a54be681f534dcdfd06b5ec90c859a14694c6a6925983c3be58f2aa8d6391028fd8d978d7641710a23394ae87dca892900 WHIRLPOOL 477970861962397f2fdee2e8627b7643f72e2b58f99f38419b607fb125270005eba9aad4949df4365d2ef8952f9fc9d1aef2a2d6381d01cf34090ecb6534fbba
AUX 0.5.2-r2-lcdproc.initd 382 SHA256 f319107966798b460742a5b113c583907edf7a81702a2078411fb9294c392584 SHA512 9dc7667af52a2e95a28ee07c7646a124b46019643df19becc8f129da553a70b40c534b6c73057c73238efd232e98f02372d55a92135fccd9c297d776c53d3767 WHIRLPOOL 1bb58fe2228829d87f5e89510cdf32a7e9089ba31e7e5c32f0d55f4dffece9084fe4c7cbc18e74eb8780c9766208c942e859ab808f6833cd5c161dadee14994c
AUX LCDd.service 167 SHA256 04b4bd6248a60c79bb2bc9e7380c230c28526951b3bd106cb33aa48c9119726b SHA512 ddb78352932e19311febc4d5721e1e0904e7b17b03d63a67d17a57a0ecb85dc17c3445edd374dfc33a666b281e6d5a72609df01537afe8ab43080aaa951d5cdd WHIRLPOOL fb0ee3c6da550794414fc75bcab71856d4ce637df162fd2ce3dbd554d1715c2a8f2337d4eda321444a53f8e333ada9522e7f2cf476a19e5f4fc3018f6aadd809
AUX lcdproc.service 203 SHA256 6e50a732c09638d5202c965461d1a6afed65877a207bec0b17f77a40bf3e9e93 SHA512 4ddd09a10c0a95c8606f891e655db7ce99cde1dbdc0e63a0ac4a5b37daf2f950fc90b7749b0feba186477aeaae2b818438dc62cbb13b1aeb2bb5ff4a662b3b6d WHIRLPOOL aff082ee062f2b5260c47095e1e5d45843d876f3a0be94bd0690470d33b0dc3ab6d7ee8cf64f1271424de54f9c3d9f270cc155ac54be3b3bc0f62641713f73d6
DIST lcdproc-0.5.7.tar.gz 1047394 SHA256 843007d377adc856529ed0c7c42c9a7563043f06b1b73add0372bba3a3029804 SHA512 bd8d176347d8e5e5a4679757b582f766c72b28bac6a73b8bdf1b5f2da9b9f4b6117f1091817eb75cf5b347bf288405744dffb87601a0a858944311cb1ee8660d WHIRLPOOL 9a597c02bbedd59988f748834aee7e1bd23bfe1a8501ed4492b25624803f9aac4c33e2b3852a810fcd49f9c3ebd429e66134d48d50e881324c05b9f1dd4c0f72
EBUILD lcdproc-0.5.7.ebuild 6226 SHA256 2558fbaed32e1d5db5cd353bcc0a5e801fdc61f9d5e1b54723ac261d10aab6a4 SHA512 866636b3c0579a3b12155322817e139e1d63d4e94621b9c0a2d5f28097d3f63f6e93536428d827321dd716f18949ea9860b10706972d58dcd37198bea9ede26a WHIRLPOOL 199b08c78750417a46abc61384122689e757ff34e087cfd80330a7e5c7f7be152734e908de6f2d5af5e7a3bd2390b4134fe967207c814a4a0e265a74407c2f4d
MISC metadata.xml 1423 SHA256 7027ed33246ccb25e12a50718490c0b825c7a95e8021dd97f99259107937be47 SHA512 b62797738fd47a23fd83c31a027b1636374183488075e9c2073419ca6c08960c60d0bc6108c7148a144852dd45cad5ddd457879249331426f9594fac43cef306 WHIRLPOOL 3a8e8db071d8e62e0048505fdbf3882249d00f2d36fb92620d09240f9edf1a7a1f7fd731ec94f48ba74860c574ceff05dd66200a43fbeaf10a803ff3be2c5382
AUX 0.5.1-LCDd.initd 533 BLAKE2B 65263278bb7bd6cbba7d4c599cefd3735dd5d16ad0d56c130cf035286c7fe6d19c546d43662a513e73eeeaae154f6f24aecd534531e960cf67c6cade635bc8b0 SHA512 66e6ac519ca9919dc1321cdfbac3c8a54be681f534dcdfd06b5ec90c859a14694c6a6925983c3be58f2aa8d6391028fd8d978d7641710a23394ae87dca892900
AUX 0.5.2-r2-lcdproc.initd 382 BLAKE2B 9e050b785119e23a749f52a893d2672cab608e7a5881319e1dc230e77ad9ce647f7258d86a8a710aebaf3de94fb691c1e974c21b2445453cd6bd5ca3c0ae3bec SHA512 9dc7667af52a2e95a28ee07c7646a124b46019643df19becc8f129da553a70b40c534b6c73057c73238efd232e98f02372d55a92135fccd9c297d776c53d3767
AUX LCDd.service 167 BLAKE2B bcc7aa31303eaf98b463ef5424d34d0c227ce3f1022718f29ff3b2b92c7abc90ec043850d965a8d7205e82dd5a67b8e84ebd0cf2fb69c1596c7d614b685b44c7 SHA512 ddb78352932e19311febc4d5721e1e0904e7b17b03d63a67d17a57a0ecb85dc17c3445edd374dfc33a666b281e6d5a72609df01537afe8ab43080aaa951d5cdd
AUX lcdproc.service 203 BLAKE2B 76ad4d54a1008009399cceab510a06440daa7754f5cf0eb4213c3dda637d4e15fb6dab7a42358d8268d3032417a7624c00490497273e915eb91221ac562e90a6 SHA512 4ddd09a10c0a95c8606f891e655db7ce99cde1dbdc0e63a0ac4a5b37daf2f950fc90b7749b0feba186477aeaae2b818438dc62cbb13b1aeb2bb5ff4a662b3b6d
DIST lcdproc-0.5.7.tar.gz 1047394 BLAKE2B 499d46585633ee6968adc1b5eb916f9737610606b0a8497f72f09cfa75fbd41c880d81ea2be44c50b1d124adf2c70ed49a9ae9a1c70a89899ad932cef7f10b89 SHA512 bd8d176347d8e5e5a4679757b582f766c72b28bac6a73b8bdf1b5f2da9b9f4b6117f1091817eb75cf5b347bf288405744dffb87601a0a858944311cb1ee8660d
DIST lcdproc-0.5.9.tar.gz 1091292 BLAKE2B 10b26fc803cf14bf301177336bd14497131440f129d16fa75cbb4782da839eb3a3835091d7c211cfc75d35f07823a1c301cf7ebfae25f2a344d0dfcaf894ca17 SHA512 48e11a587570376b9524591f4c23deace9ac1609b83ba9e17f2a4e950d5598f8f88b580ca01c174ec9c2ef98b1eef7ac274c23ca3541d4d7ff918af0598c6a25
EBUILD lcdproc-0.5.7.ebuild 6226 BLAKE2B 6a1970b9230b42a404142b5a4d662fee533d2433ed99fdeaf8ba84f4251544688384df13fa9703ff7bdefdf9bc6c518056d725256546fc3d076b307c79044e51 SHA512 866636b3c0579a3b12155322817e139e1d63d4e94621b9c0a2d5f28097d3f63f6e93536428d827321dd716f18949ea9860b10706972d58dcd37198bea9ede26a
EBUILD lcdproc-0.5.9.ebuild 6099 BLAKE2B 6c75452bd4587eed5f869fafbe400e8432e22924022de84d337899d8a669266c7c4006ee1e4e15cbd5629e390d99d52b46aae3a2e8c26e646f4e74350335ba67 SHA512 917754992c5d53939d108c95b37836803eb2124e4b972dad784392cabbee2edbe9b460ecdae4b4b53a7c2d1b409bd6a3d67d6465e85dab1f96fd49ec5e93299b
MISC metadata.xml 1423 BLAKE2B b5f4d4202cc8178d0ddb4ace19592e15c5bdd68cd0239a219b866d3b6f7e404110858eadb81a7bbd456bc1db237754edfcf7bd9966a76755a81e4b5742712d7c SHA512 b62797738fd47a23fd83c31a027b1636374183488075e9c2073419ca6c08960c60d0bc6108c7148a144852dd45cad5ddd457879249331426f9594fac43cef306

View File

@ -0,0 +1,196 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit multilib versionator systemd
DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
HOMEPAGE="http://lcdproc.org/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug doc ftdi hid irman joystick lirc nfs png samba systemd truetype usb"
# The following array holds the USE_EXPANDed keywords
IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontzpacket
cwlinux eyeboxone g15 graphlcd glk
hd44780 icpa106 imon imonlcd iowarrior
lb216 lcdm001 lcterm
md8800 mdm166a ms6931 mtcs16209x mtxorb noritakevfd
pyramid sdeclcd sed1330 sed1520 serialvfd sli
stv5730 SureElec svga t6963 text tyan
ula200 vlsys_m428 xosd ea65 picolcd serialpos
i2500vfd irtrans lis shuttlevfd )
# Iterate through the array and add the lcd_devices_* that we support
NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
index=0
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
let "index = ${index} + 1"
done
REQUIRED_USE="lcd_devices_mdm166a? ( hid )"
RDEPEND="
ftdi? ( dev-embedded/libftdi:0 )
hid? ( >=dev-libs/libhid-0.2.16 )
irman? ( media-libs/libirman )
lirc? ( app-misc/lirc )
png? ( media-libs/libpng:0 )
truetype? ( media-libs/freetype:2 )
usb? ( virtual/libusb:0 )
lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver dev-libs/serdisplib )
lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
lcd_devices_ncurses? ( sys-libs/ncurses:= )
lcd_devices_svga? ( media-libs/svgalib )
lcd_devices_ula200? ( dev-embedded/libftdi:0 )
lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
lcd_devices_cfontzpacket? ( virtual/libusb:0 )
lcd_devices_cwlinux? ( virtual/libusb:0 )
lcd_devices_pyramid? ( virtual/libusb:0 )
lcd_devices_picolcd? ( virtual/libusb:0 )
lcd_devices_i2500vfd? ( dev-embedded/libftdi:0 )
lcd_devices_lis? ( dev-embedded/libftdi:0 virtual/libusb:0 )
lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
DEPEND="${RDEPEND}
doc? ( app-text/xmlto
app-text/docbook-xml-dtd:4.5 )"
RDEPEND="${RDEPEND}
lcd_devices_g15? ( app-misc/g15daemon )"
pkg_setup() {
if [ -n "${LCDPROC_DRIVERS}" ] ; then
ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
fi
}
src_prepare() {
sed -i "37s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf || die
einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
default
}
src_configure() {
# This array contains the driver names required by configure --with-drivers=
# The positions must be the same as the corresponding use_expand flags
local DEVICE_DRIVERS=(curses bayrad CFontz CFontzPacket
CwLnx EyeboxOne g15 glcd,glcdlib glk
hd44780 icp_a106 imon imonlcd IOWarrior
lb216 lcdm001 lcterm
MD8800 mdm166a ms6931 mtc_s16209x MtxOrb NoritakeVFD
pyramid sdeclcd sed1330 sed1520 serialVFD sli
stv5730 SureElec svga t6963 text tyan
ula200 vlsys_m428 xosd ea65 picolcd serialPOS
i2500vfd irtrans lis shuttleVFD )
# Generate comma separated list of drivers
COMMA_DRIVERS=""
FIRST_DRIVER=""
local index=0
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
append-driver "${DEVICE_DRIVERS[${index}]}"
fi
let "index = ${index} + 1"
done
# Append the not-lcd-drivers (input)
use lirc && append-driver "lirc"
use irman && append-driver "irman"
use joystick && append-driver "joy"
if [ -z "${COMMA_DRIVERS}" ] ; then
ewarn "You are compiling LCDd without support for any LCD drivers at all."
else
# Patch the config to contain a driver that is actually installed instead of the default
elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
sed -i "53s:curses:${FIRST_DRIVER}:" LCDd.conf || die
fi
local EXTRA_CONF
if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
EXTRA_CONF="--enable-libusb"
else
EXTRA_CONF="$(use_enable usb libusb)"
fi
if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
else
EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
fi
econf --enable-extra-charmaps \
$(use_enable debug) \
$(use_enable nfs stat-nfs) \
$(use_enable png libpng) \
$(use_enable samba stat-smbfs ) \
$(use_enable truetype freetype) \
${EXTRA_CONF} \
"--enable-drivers=${COMMA_DRIVERS}"
}
src_compile() {
default
if use doc; then
ebegin "Creating user documentation"
cd "${S}"/docs/lcdproc-user
xmlto html --skip-validation lcdproc-user.docbook
eend $?
ebegin "Creating dev documentation"
cd "${S}"/docs/lcdproc-dev
xmlto html --skip-validation lcdproc-dev.docbook
eend $?
fi
}
append-driver() {
[[ -z $* ]] && return 0
if [ -z "${COMMA_DRIVERS}" ] ; then
# First in the list
COMMA_DRIVERS="$*"
FIRST_DRIVER="$*"
else
# Second, third, ... include a comma at the front
COMMA_DRIVERS="${COMMA_DRIVERS},$*"
fi
return 0
}
src_install() {
emake DESTDIR="${D}" install
# move example clients installed to /usr/bin
rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
insinto /usr/share/lcdproc/clients
doins clients/examples/*.pl
doins clients/metar/*.pl
newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
if use systemd; then
systemd_dounit "${FILESDIR}"/LCDd.service
systemd_dounit "${FILESDIR}"/lcdproc.service
fi
dodoc CREDITS.md TODO
if use doc; then
insinto /usr/share/doc/${PF}/lcdproc-user
doins docs/lcdproc-user/*.html
insinto /usr/share/doc/${PF}/lcdproc-dev
doins docs/lcdproc-dev/*.html
fi
}

2
dev-db/pgadmin4/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST pgadmin4-3.0.tar.gz 28915010 BLAKE2B 7e6dccd91f082f7b5514f5d3abdf4653a9961b4efc706e10ce58d817785d514508233e25068762fe0e4bca4c1a3cf10a2515afa38e6f9ba3c99b4af3fa32f3d2 SHA512 5921340176e6748ef13112d906061f195d4bb2f73917d762371bbaeb44ef66cf8e0edcd1cd241eb78dae46ed0b3af014c749468a930fb0c0983b38b2c54dfc3a
EBUILD pgadmin4-3.0.ebuild 3485 BLAKE2B ab5d5fe5a325d0d6cfdc3c9d8c6f87d3f4abc9c638f18251d0dfc031b9600fba8b66d087e729b1c83e742cce8713f6047ca74f70dc7f5363f7619aa436762676 SHA512 ca243a82ffcf510fb305310757d8d436a5ab0df3eb8362edf5b6fce9f4e4672f87c90ffdbe7143e2ff0b3aa09ddc6932f8a4b6e134437240366ccc73103507ef

View File

@ -0,0 +1,123 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_REQ_USE="sqlite"
inherit python-single-r1 qmake-utils
DESCRIPTION="GUI administration and development platform for PostgreSQL"
HOMEPAGE="https://www.pgadmin.org/"
SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
LICENSE="POSTGRESQL"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="doc"
RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="${PYTHON_DEPS}
dev-qt/qtwidgets:5
dev-qt/qtwebkit:5
dev-qt/qtwebengine:5[widgets]
"
DEPEND="${COMMON_DEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
>=dev-python/click-6.6[${PYTHON_USEDEP}]
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/flask-0.12.2[${PYTHON_USEDEP}]
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.4.7[${PYTHON_USEDEP}]
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
"
S="${WORKDIR}"/${P}/runtime
src_prepare() {
cd "${WORKDIR}"/${P} || die
default
}
src_configure() {
eqmake5
}
src_compile() {
default
if use doc; then
cd "${WORKDIR}"/${P} || die
emake docs
fi
}
src_install() {
dobin pgAdmin4
cd "${WORKDIR}"/${P} || die
local APP_DIR=/usr/share/${PN}/web
insinto "${APP_DIR}"
doins -r web/*
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
SERVER_MODE = False
UPGRADE_CHECK_ENABLED = False
EOF
python_optimize "${D}${APP_DIR}"
local CONFIG_DIR="/etc/xdg/pgadmin"
dodir "${CONFIG_DIR}"
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
[General]
ApplicationPath=${APP_DIR}
PythonPath=$(python_get_sitedir)
EOF
if use doc; then
rm -r docs/en_US/_build/html/_sources || die
insinto /usr/share/${PN}/docs/en_US/_build
doins -r docs/en_US/_build/html
fi
}

View File

@ -1,3 +1,3 @@
DIST flask-restful-0.3.6.tar.gz 114512 BLAKE2B f03f7ed0fd521a265b8a2293d1526273650a38f65b28933b4d90d74f7365e04650efc89a743a49ab7c9fdd59d238958bb7bc03936f44af8728a4c435d2df23be SHA512 c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977
EBUILD flask-restful-0.3.6.ebuild 1276 BLAKE2B 14198052c1db4a781b8adaeac4d28ac31ce4f6416afa1ce36efb4b812eb3fcdf80b66e6b1ff3eeb04d0aa2b80fa4465a5bd839ce802ecbf8f4a35b7aa3fa7a8e SHA512 3e7c00cec318b74f55ba0263c97215d49a52b63c65066c92a98c7211b302dc45fcafabfe26cdd9b49232328c05e3a5dd963b34bc0216d10075d675a2a099afbc
MISC metadata.xml 400 BLAKE2B 73ff908518d52fcfb2aaf73571c5c1a36cf0cc749b0d1f5e2c28780323b096aed34644c8bf373e241112892e08dc184d0310bcce52aa583ad6301473cd7a4248 SHA512 be62c37c4d0fd8a051cc14fb2a9dec6885a1e83420bbe95282a0fdc7803d700372b345d83c3d648037c45080246d71b91086b3e4841d9e41fb3003d7c114e0c0
DIST flask-restful-0.3.6.tar.gz 114512 SHA512 c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977
EBUILD flask-restful-0.3.6.ebuild 1276 SHA512 1905a844aeef7c857ddd0ee5bfe9146d95ad243a846559dcb148b3998e3e4be50e43c371dafd57fc93ed2c2d05485880f6d51f5e2f6821bbadf7219bb7c26de0
MISC metadata.xml 400 SHA512 be62c37c4d0fd8a051cc14fb2a9dec6885a1e83420bbe95282a0fdc7803d700372b345d83c3d648037c45080246d71b91086b3e4841d9e41fb3003d7c114e0c0

View File

@ -16,7 +16,7 @@ KEYWORDS="amd64 x86"
IUSE="doc examples paging test"
RDEPEND="
=dev-python/aniso8601-1.2.1[${PYTHON_USEDEP}]
=dev-python/aniso8601-3.0.2[${PYTHON_USEDEP}]
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]

View File

@ -1,4 +1,4 @@
DIST flask-restplus-0.10.1.tar.gz 258734 BLAKE2B 06b87b943215746971537ab66d5faab550d18bd76f5b35e18991bd7b5d53ff79421b8f1cb2ffbcee2ad9fcea82cec23ee53d284ce6997b761178f8c7165ccb4b SHA512 b80ce161267da9c54276fd87623372a61a36af66ad80e38537ae2ffa66f3a232961fa7d5571e158ce3e2ad93421409d9f01e5f34886ee3ba9b405c499c08cd52
DIST flask-restplus-0.8.6.tar.gz 100249 BLAKE2B 2d7b6e779d6c373041691488b033ced040e3633a8a54271aaacfd0573ff25326fb760e35e1988398b9f7d79a96763ab63a7133007e090861e9ccbbc4c536feef SHA512 b09a59c4b06d594103159972304a46decd36385a683615c269fe86241b149f821ef8f66700950d4f3de02b054c05135a46ce0cb3ab2043ff6b9b9400ac538104
EBUILD flask-restplus-0.10.1.ebuild 1212 BLAKE2B 9f8e9c278ee9f7e2a277907bdb13325ec53dd4c3921c6aea6d3f0a0d1744dcf6cd700d62a154b377728f502616ecc72c0812e61e9657e1f2ff0112110a55a643 SHA512 d3d61b746714803ecadca55e527685bafe57a615171b6121f7cfe723a08807d5937a63a9402097017490b4f281dbdf040e80a049020470a952250ad55a40d18e
EBUILD flask-restplus-0.8.6.ebuild 1212 BLAKE2B 5ef7c4ad985677e256e10a4e4cd365056b3faa55e562256dd0ae705a8b06496e8d08e20c44b3a4a22436a2ee763ba7aceeee2cbadfcde7f00be092bdb3f4f51f SHA512 b160dc1a21504eb631793a286cbf573e04fe8cc8e07f84981d7b0d7cc1a6078161b53879f64e3e4051883e5a899f223fc1385586ed8a7d39425df316fc1a29df
DIST flask-restplus-0.10.1.tar.gz 258734 SHA512 b80ce161267da9c54276fd87623372a61a36af66ad80e38537ae2ffa66f3a232961fa7d5571e158ce3e2ad93421409d9f01e5f34886ee3ba9b405c499c08cd52
DIST flask-restplus-0.8.6.tar.gz 100249 SHA512 b09a59c4b06d594103159972304a46decd36385a683615c269fe86241b149f821ef8f66700950d4f3de02b054c05135a46ce0cb3ab2043ff6b9b9400ac538104
EBUILD flask-restplus-0.10.1.ebuild 1216 SHA512 6a00068393ba16d366b740711e07cbccd0b981772acb9ea79144f2c569f6ec2d791043037d7382354db0a35cc126692923b9e2f97f911567aa773b7b52678ba0
EBUILD flask-restplus-0.8.6.ebuild 1212 SHA512 b160dc1a21504eb631793a286cbf573e04fe8cc8e07f84981d7b0d7cc1a6078161b53879f64e3e4051883e5a899f223fc1385586ed8a7d39425df316fc1a29df

View File

@ -3,7 +3,7 @@
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
@ -17,7 +17,7 @@ KEYWORDS="amd64 x86"
IUSE="doc examples test"
RDEPEND="
=dev-python/aniso8601-1.2.1[${PYTHON_USEDEP}]
=dev-python/aniso8601-3.0.2[${PYTHON_USEDEP}]
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]

View File

@ -0,0 +1,3 @@
DIST Flask-Security-3.0.0.tar.gz 160367 BLAKE2B c2e1449dc2807c2c40519fa3afb894157e17ecc9ff3f6dcf5ef0d02839a5988f827afd26c1d31af86d5e240e0ea8bfb8ed86354bb6a83535436b08721cac8f26 SHA512 09b94f0850372513add5c054c07aa465ecb95e8d1c414647e3ebee571ec08c94a29f0c138d092c02a55e242c422bc53f929ca066d671c082dcb29834ac753984
EBUILD flask-security-3.0.0.ebuild 1382 BLAKE2B fe05660f00e6b25547661792951278b5bd3a6e9a15742674a4684caf853f8dcad4a31b009880e2dea8e9f97a68f56121b0d57bf1935ab197d058f43819df2001 SHA512 5cb6470b5dc376236a62652ed7695fb327362a8607ce9182e1c50e196f2ee34f30348eec497dd36688e4abb6f9ff575eb2456ddaa8e8fc79a468f3ebc8817282
MISC metadata.xml 317 BLAKE2B 4889668ab37b857d0e46000d1663eb953b8f54b20e9ea16979d9db73b6d96b3fa8317bbb5cb10d9e4b4cf0268b966531e33b1bc4a9ab9758768120466999e9cd SHA512 4e5d572e3b4c865bd75763af3bf90a1aeae9a74865ed3da3aa8d00956158cf842a7fb8f2ec837bd53fda5e2a3266777c41bc109d64f31fe75a5d219f1dba1ed2

View File

@ -0,0 +1,46 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
MY_PN="Flask-Security"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Simple security for Flask apps"
HOMEPAGE="http://pythonhosted.org/Flask-Security/ https://pypi.python.org/pypi/Flask-Security"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
# tests are foobar
RESTRICT="test"
RDEPEND=">=dev-python/flask-0.11[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
>=dev-python/passlib-1.7[${PYTHON_USEDEP}]
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
>=dev-python/flask-login-0.3.0[${PYTHON_USEDEP}]
>=dev-python/flask-mail-0.7.3[${PYTHON_USEDEP}]
>=dev-python/flask-wtf-0.13.1[${PYTHON_USEDEP}]
>=dev-python/flask-principal-0.3.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
dev-python/flask-mongoengine[${PYTHON_USEDEP}]
dev-python/bcrypt[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/flask-peewee[${PYTHON_USEDEP}]' 'python2*')
)"
S="${WORKDIR}/${MY_P}"
python_test() {
nosetests -v || die "Testing failed with ${EPYTHON}"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">Flask-Security</remote-id>
</upstream>
</pkgmetadata>

View File

@ -3,5 +3,5 @@ AUX requests-2.14.2-system-packages.patch 665 BLAKE2B 119604df7f3499536f6788c8e8
AUX requests-2.5.0-system-cacerts.patch 694 BLAKE2B 68294e60112520472f7c776283a3bda8fee99aa7039134a1afb3965a5e44ce225b3961b7ddb26496da4514ff3a5a5867d00edf4ebfd9c117b8c7524939baf009 SHA512 804a2e2d46b6377c3f2a675ab367a1410e1f333dc6d087535f7eff73a78da06cef5ef66c3ad947bc1830aa373b963bfd30b4598eb6ca203a0f7e532cf971d145
AUX requests-2.9.1-system-packages.patch 527 BLAKE2B 1e07bf34117b1dfdff562b604d7d96fba074ea90f9fbdcdae0ea6f45867fc88933ad658f9399b69e5048de5990466e08294cf6b1c80c1b5ec2c54f490c8b52cb SHA512 f7f77fe81f2d98cf2777c3388aec82ff0bd0188dffd047b46fdf514e19859f23263780e7e9dc828fdfe7f08a8e9ee63602f22208d2927a65fa45b8361444169c
DIST requests-2.16.5.tar.gz 122929 BLAKE2B 07e7ac9bcf0f988e18853f70a49fd2eccc42088b3eaa0ee2f220482e0a8e37114a5c619dd059b6ac9ee604da3bfc232c1c5c676578372a771f6aca70677cc83e SHA512 9452103590a5f007dd98889ed0aa57517fb3eda11c860652ad17fd00ee605a976c857249593a1eb71736de832ae8907076b834f188a9aac8ba91a39ba6d3db10
EBUILD requests-2.16.5.ebuild 1370 BLAKE2B 053159929ffa47bb10ef5d52d654385db9af3a27974aecea80a21bd2e27b01eacc9ecb9e54e9fed3c122d784347afa087ea84dc00e95f9dd30ac0aeba597f678 SHA512 2c4761d1b16e6dae31290caf13b2ec60daab4872b2aa7e859471eee1f2b5c73c412184d3e5e1ebccd25d2e9974a3a79b91a6590b9e56a1ea7af6ad1cb0fad4ea
EBUILD requests-2.16.5.ebuild 1368 BLAKE2B f0439f54fdf25406a0f24b6e77942a3f3cae5027b14f89afbb050dc86349e10cec75eb16d784fb22b6e479e2f00caaeb08db0ca0d7bf3fc2de68be43e1e00eee SHA512 c9543e785b5a778c282d7c436fd1f0a675695537eafa244051c52a941fe113916cb7cfda2fd9c84658c84eb26c19a3dabf0bd7a80afa97e1c2afcea4e1be7c35
MISC metadata.xml 674 BLAKE2B 8670395eb334921eeaa21367eaf1c7d3770c11a166dc680bcb9b99a05da91d797baec8ef3c0596c40143f732e427c322a75ea75da1a2e7d99e56426be077b35e SHA512 7aa5c27d949a076b09b4c2b9e905124047d9ececc40d9c3fd225c6405aa084db96cab585956db9885b115cd24c6c153ae853187872e77e7d44ae5790c323bac9

View File

@ -18,10 +18,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
IUSE="socks5 +ssl"
RDEPEND="
=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
=dev-python/certifi-2018.4.16[${PYTHON_USEDEP}]
=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
=dev-python/idna-2.5[${PYTHON_USEDEP}]
=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
=dev-python/idna-2.7[${PYTHON_USEDEP}]
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
ssl? (
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]

View File

@ -1,3 +1,5 @@
DIST SQLAlchemy-1.1.10.tar.gz 5191849 BLAKE2B 775d116faea31b2a21b9d0b6b8b6012c7dd5e2d9ebc6705d517ba7def3697748f813a3e6d2362b9d5018f44823cea64c2b9758c5b03da6bbc6abcc56e860a045 SHA512 96b9d8630ceffc26eb9a707fba004c8ea8d551835a4aec45cad7185f51cca9fd16fc49715fb158cb861e2db1b2fb9baf23f3cce0c856a27a49899272b91bd9f4
DIST SQLAlchemy-1.2.6.tar.gz 5565074 BLAKE2B 09dba15d3f1a5d413d0f787585af25b85aa2d55a48174fb27c60b51fa795c210a22cec172222bc044947e4986d971b3f78a15dbcc0910e1e39178f1799b54777 SHA512 439a8238ea2abfc05c8903fd41c19f389bd3e3e41455398dea71d353226eb96ab22aaf497552ba20500a79cc9a111c1faa5272acfa93eb6133f84ab541c3a1bb
EBUILD sqlalchemy-1.1.10.ebuild 2132 BLAKE2B ae129735af5e63d77c9f1f5651588893aeb6e36293b411e718f0a5f90c8a3252d1f0ab64fdb6470e652f00c98a73871d8cbf13a1d13bf184965d76327c3b70d7 SHA512 9a8322c01756d6c3f567364c1f17f80de03e4e9cc21ce2169ae6e2ec212957a07efe1e3c9794344a8a348fb7ca88d6795724c9842e56952ed6a6197fd1f66f68
EBUILD sqlalchemy-1.2.6.ebuild 2216 BLAKE2B 0992f434b8c2e895d088cc6372c44a2f407442a23fd869deb9516149414567e6451b5679f4be48bff9ecab863e80d3e2460729a0555bacbe10fce9efe198581e SHA512 9860797a30daa17dd438722cb88af5f74bac7de5bb145a2ae221d32812d8f46e62a4bab1facb43975bc9f0f04b5c2bc0780833ed70e163b37d3e70f2758f2a00
MISC metadata.xml 313 BLAKE2B 71212a9a3076b472b488bdb4e12fef98e16881a32a8383c5fa6a9008353d2e043dfe64cb536ecef145ba74ba77ef3a6c43d705d5072d1b56e11eacfadd1d0edd SHA512 ef6298f9e38312117a0d1ab1e63f2fb21ae51ff149053603c19437b90d954827858579ab8f021cb52919aff4474a27f5a598d8515a7e5a9f2e7e35aee53c5326

View File

@ -0,0 +1,77 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
MY_PN="SQLAlchemy"
MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
test? (
<dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
)"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
rm -r test/aaa_profiling || die
distutils-r1_python_prepare_all
}
python_compile() {
if ! python_is_python3; then
local CFLAGS=${CFLAGS}
append-cflags -fno-strict-aliasing
fi
distutils-r1_python_compile
}
python_test() {
# Create copies of necessary files in BUILD_DIR.
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" > /dev/null || die
if [[ "${EPYTHON}" == "python3.2" ]]; then
2to3 --no-diffs -w test || die
fi
# Recently upstream elected to make the testsuite also pytest capable
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
popd > /dev/null
}
python_install_all() {
use doc && HTML_DOCS=( doc/. )
use examples && dodoc -r examples
distutils-r1_python_install_all
}
pkg_postinst() {
optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
optfeature "mssql support" dev-python/pymssql
optfeature "postgresql support" dev-python/psycopg:2
}

View File

@ -1,13 +1,17 @@
AUX flexget-2.10.35-guessit.patch 559 BLAKE2B fc5a9348c77f298c0919c532d741c196f3ee3548eb667c277595760deb6465c1bfe4089f0bf545a0115f788d7c170bd9f3c93709f4a2769ffba0ce0827d2f990 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0
AUX flexget.service 334 BLAKE2B 38fb9baac779864cdd4734c04829b30dc285c26cd0b758dc10b65922503c6c92f097ee42ccf0c35e8f7daaf29ebe3aafa876a4c86bc2dda8853cc13fb2ba9b83 SHA512 3ca09f7cf8c115f081bc754433444a38eae75b159a2f7351246907af71bdc2a55693b26205a6955f75006987d21a85d4c3cfb75f20d14fb7f6dd92ceb285aea7
DIST FlexGet-2.10.35.tar.gz 2677411 BLAKE2B 03c6cd265dac7dbbb4341761f8d4478ecaa9c600a640feb632a9c673093c98f026ced4a21fd3f85b483a70cd2f7bb466d7c2ef4bbe239651ec2dd7e7d4501975 SHA512 6350ab4ed0312249cce04f83244826bc0d681ab4a2e36a9b768f8031665518e80ce5e0a3089b8aa7e39a57c984910c923c2eac4f6e00a3f05342456e9b8e52aa
DIST FlexGet-2.10.84.tar.gz 2673109 BLAKE2B 083cf45bf2a78edc8aba324628f7247796284c31b65b5d9c99fba5a98804cc6bb12697fde4452ae04c8ca7b7ca9a4a8baa0a4d03e5f3d80f43b165495484ce5b SHA512 f3294fe64b45c582f8ef572ba9ded1f59bd8d0caa4ff9e4eb48278b59be8002e5029ccd0f6008df7d2b9f42165833f90eef0256fb3e6da0967009414d8d9da43
DIST FlexGet-2.11.23.tar.gz 6930560 BLAKE2B 3db1276925acd6ba737ce06795c668fecabbd4dd4116cdc67dbd3ab099427e54844d4d2748a926c6fbe976c413b746981004e38cfb82c8bfb21bf872acc1feb6 SHA512 4d472ae32dbbe38d8cda2c3f9e53e9f21de22e83fac7b63dacace331b2f9b97f4880b0ded74f2334d168fb7ac9ccec727ff873afd18f966caeae98bdc8cb1202
DIST FlexGet-2.11.24.tar.gz 6943832 BLAKE2B 3118bd2117b61401d0578274d7a8636563cc149a8f8e0a51071071e9f48196b853d5b3fc59f66cd7873575597eb0a84a363fd4aa7322201c1cdaf3cf4f73c8f6 SHA512 4483ff4db3801f943998acf512d02a858699071e0202ed1a70c16382b73bd3a6327065c89ed9b913a2d660c1fc67ac79ce1a085853ec98eac7b981b92e5fa92f
DIST FlexGet-2.9.18.tar.gz 2637431 BLAKE2B 78253e2ae95193488715c7c5e5d048b7abb98c1bd2399dc5b77f1e1d0795b52f3ce35074c53c23a0200fb3d4e3b186a87c7b6f88b51bf2db71719e636533400a SHA512 3ae7d407d31850aa4f003e257c3c41b11658d1ab13ca3f11476fe976fd6b16314410c3b7d441a4b66dc987618deb62ec703e1e9e81d34ca7344a6674488a8b57
EBUILD flexget-2.10.35.ebuild 2589 BLAKE2B 0d6e3deb742f146a8f1fc193e340dde9d15e5853c4da2d69c7d15fed0aa327a274f704f2aa515b14820d9b079e0e9ed27cf559140f9f08dde944962ede9001a1 SHA512 30a1ddac133fd8617dfac5c3a8dfae6240503a4e64f65f030582b27b5a0fb2469bcba49357f59e0972c706acbfc83b53dd0b51c0aabd623263c93c6a30fb2568
EBUILD flexget-2.10.84.ebuild 2555 BLAKE2B 7610d7606ec86ee5ceb957b18560b17b6f945e72bb0fd6f78339ba4f5b8b08d62dce5b631be5f1d6e295a9426744a11fb1eaf6037972c81a197148a3d32fc3e3 SHA512 ba1efb6b476c9bcfd346bcad40f6aac688b17d037de63a3307fb85f8ada6575be52cf44a6ab579a4f0a7dc83bc7f8c86c7e49e2ca275d84adeb3c6f566d59fe8
EBUILD flexget-2.11.23.ebuild 2852 BLAKE2B 6200fa85fca0e29a8452a851409a3ced8ef07ddd51dfe80d1aff422c1c9995046a5eb8cfb0400b40cf6a0021bdda3912e24a00d3a2e363fbec86f11ae4e48286 SHA512 9a7de63041c32a82c10b61db96079fc1c1d08d5028433a4ec06982d2f9c271708c3c390234d6db9ba332da9f2ef737eea1bc9de4fee80d09b5424ec9873a92d5
EBUILD flexget-2.11.24.ebuild 3490 BLAKE2B bbe9a5328ee84c18cf6f4520bf6b233cf4f89d1b516dd07b3f4b9e914b8cb9a59b89f1e8156f99b97ed91e01b1409fb819b65615cce09c4715a35923db64815f SHA512 229b79ed01853f9efc25f9cba21e73e4475e0474266f22fc06b6526ee48432c996ac738a47f6fb7a810c446ef2e0a0b95750882073380744a0f0c0a266708957
EBUILD flexget-2.9.18.ebuild 2725 BLAKE2B 2a80b56f4cf1c5d92a1648919f2daac5818a36908ac3130df5ab482bb65fbf0f3675ae8ff6d1d15025e0acc616314160357972d3d9c6aabf578954e20997d649 SHA512 6a1282b64862b61f15586278462fd29da45a2472dbd5a1740b1ef13eb486210fd42de625d6ed200c804349a4684ee4db4e3a6f2347be3e9d85ffea806e6d9bfd
MISC ChangeLog 559 BLAKE2B 43030b5c73d9efa71c0cd9b8e60d1d75908debd818fb880a3740b2f74764fccfd9e1e014453a3fe851addce9f57a701c53894279ef1801622d9e8b71900b62df SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667
AUX flexget-2.10.35-guessit.patch 559 SHA512 e10aef03cdaf5e1c9839c8c165776c613ffeb007d68f5d030c2ae648a4b7452694194cff0774365df3475c2f780d84b0d2b5c8515e48263e46766580e07caef0
AUX flexget.service 365 SHA512 308dd362b01b029419c83d7b29f4a337b35bed6312de3a8fb46f816fd590a0dc0fa69234adfb48021b2cbb39c86a38eba0a7fcaa43962301da08ef111aca01c4
DIST FlexGet-2.10.35.tar.gz 2677411 SHA512 6350ab4ed0312249cce04f83244826bc0d681ab4a2e36a9b768f8031665518e80ce5e0a3089b8aa7e39a57c984910c923c2eac4f6e00a3f05342456e9b8e52aa
DIST FlexGet-2.10.84.tar.gz 2673109 SHA512 f3294fe64b45c582f8ef572ba9ded1f59bd8d0caa4ff9e4eb48278b59be8002e5029ccd0f6008df7d2b9f42165833f90eef0256fb3e6da0967009414d8d9da43
DIST FlexGet-2.11.24.tar.gz 6943832 SHA512 4483ff4db3801f943998acf512d02a858699071e0202ed1a70c16382b73bd3a6327065c89ed9b913a2d660c1fc67ac79ce1a085853ec98eac7b981b92e5fa92f
DIST FlexGet-2.13.15.tar.gz 6137439 SHA512 e6fa621befc91a882d4172e26325ce87944c68bfd38df9ad2da060a01b0c3cb63e96cfcd11b36eb308b8d4426faab6631ed51d1b70381882688dedbdc4ab43c4
DIST FlexGet-2.14.15.tar.gz 6123464 SHA512 8a7b236e8efc56de4164840f177646e48c0ce3d32b63569d6dcea6ac659cf24f4eef01c4ec0ef880841807e79e3db7c90e577e0551331a164c77392f82ff5a77
DIST FlexGet-2.14.9.tar.gz 6122541 SHA512 16d372db032b5cfbb132bae65cf774e42874eafc9ebe16299e471222b54ae5f4a47ebbda1df19c81028b3b14dd6dc0a158412f98f9d21d56f180dfba17f1a32b
DIST FlexGet-2.9.18.tar.gz 2637431 SHA512 3ae7d407d31850aa4f003e257c3c41b11658d1ab13ca3f11476fe976fd6b16314410c3b7d441a4b66dc987618deb62ec703e1e9e81d34ca7344a6674488a8b57
EBUILD flexget-2.10.35.ebuild 2589 SHA512 30a1ddac133fd8617dfac5c3a8dfae6240503a4e64f65f030582b27b5a0fb2469bcba49357f59e0972c706acbfc83b53dd0b51c0aabd623263c93c6a30fb2568
EBUILD flexget-2.10.84.ebuild 2555 SHA512 ba1efb6b476c9bcfd346bcad40f6aac688b17d037de63a3307fb85f8ada6575be52cf44a6ab579a4f0a7dc83bc7f8c86c7e49e2ca275d84adeb3c6f566d59fe8
EBUILD flexget-2.11.24.ebuild 3490 SHA512 229b79ed01853f9efc25f9cba21e73e4475e0474266f22fc06b6526ee48432c996ac738a47f6fb7a810c446ef2e0a0b95750882073380744a0f0c0a266708957
EBUILD flexget-2.13.15.ebuild 3526 SHA512 23e71a617583cf2b6bd1a2ea59abd7c5bd94b354e9fb3dac91f1086f50d6661d93484aa925cb403b5510c2e397c2cedb3fc2f354ea59594d60e98386726c3631
EBUILD flexget-2.14.15.ebuild 4470 SHA512 84757adcaab10e22c724ef7f4c889fdf120cc441cc767aabbb57e2c1c5b24cf6f9d8f0f4472f68e1de1c4944c9e501f0552fa87aa61335948ed0db51ba4f59de
EBUILD flexget-2.14.9.ebuild 3517 SHA512 8df3527222e8f7d4636db63225e4a6826e11f54161cb59a14c0173be1715835ee62c79fc2182b93f625acea1284070aaf1b63568d4eeebe50a80716a625b68d2
EBUILD flexget-2.9.18.ebuild 2725 SHA512 6a1282b64862b61f15586278462fd29da45a2472dbd5a1740b1ef13eb486210fd42de625d6ed200c804349a4684ee4db4e3a6f2347be3e9d85ffea806e6d9bfd
MISC ChangeLog 559 SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667

View File

@ -8,6 +8,7 @@ Group=flexget
ExecStart=/usr/bin/flexget --logfile /var/log/flexget/flexget.log --loglevel info -c /etc/flexget/config.yml daemon start
ExecStop=/usr/bin/flexget daemon stop
ExecReload=/usr/bin/flexget daemon reload
Environment="LANG=de_DE.UTF-8"
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,110 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.0:4[${PYTHON_USEDEP}]
>=dev-python/cherrypy-10.2.2[${PYTHON_USEDEP}]
=dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
=dev-python/flask-0.12.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
=dev-python/flask-login-0.4.0[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/future-0.16.0[${PYTHON_USEDEP}]
=dev-python/guessit-2.1.4[${PYTHON_USEDEP}]
=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]
=dev-python/jinja-2.9.6[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-10.3.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
=dev-python/python-dateutil-2.6.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2017.2[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
=dev-python/requests-2.16.5[${PYTHON_USEDEP}]
=dev-python/rpyc-3.3.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.6[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz>=2017.2/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.11.0/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,122 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.0:4[${PYTHON_USEDEP}]
>=dev-python/cherrypy-10.2.2[${PYTHON_USEDEP}]
=dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
=dev-python/flask-0.12.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/future-0.16.0[${PYTHON_USEDEP}]
=dev-python/guessit-2.1.4[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/jinja-2.10[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-10.3.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.7.2[${PYTHON_USEDEP}]
>=dev-python/pytz-2017.2[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.19.1[${PYTHON_USEDEP}]
=dev-python/rpyc-3.3.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.9[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^aniso8601==1.2.1/aniso8601==3.0.2/" ${S}/requirements.txt || die
sed -i -e "s/^certifi==2017.4.17/certifi==2018.4.16/" ${S}/requirements.txt || die
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^flask-login==0.4.0/flask-login==0.4.1/" ${S}/requirements.txt || die
sed -i -e "s/^html5lib==0.999999999/html5lib==1.0.1/" ${S}/requirements.txt || die
sed -i -e "s/^idna==2.5/idna==2.7/" ${S}/requirements.txt || die
sed -i -e "s/^jinja2==2.9.6/jinja2==2.10/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${S}/requirements.txt || die
sed -i -e "s/^python-dateutil==2.6.1/python-dateutil==2.7.2/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz>=2017.2/" ${S}/requirements.txt || die
sed -i -e "s/^pyyaml==3.12/pyyaml==3.13/" ${S}/requirements.txt || die
sed -i -e "s/^requests==2.16.5/requests==2.19.1/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.11.0/" ${S}/requirements.txt || die
sed -i -e "s/^sqlalchemy==1.2.6/sqlalchemy==1.2.9/" ${S}/requirements.txt || die
sed -i -e "s/^urllib3==1.21.1/urllib3==1.23/" ${S}/requirements.txt || die
sed -i -e "s/^werkzeug==0.12.2/werkzeug==0.14.1/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,110 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils systemd user
if [[ ${PV} != 9999 ]]; then
MY_P="FlexGet-${PV}"
SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
https://github.com/Flexget/Flexget.git"
fi
DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
HOMEPAGE="http://flexget.com/"
LICENSE="MIT"
SLOT="0"
IUSE="systemd test transmission"
RESTRICT="nomirror"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
=dev-python/APScheduler-3.5.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.0:4[${PYTHON_USEDEP}]
>=dev-python/cherrypy-10.2.2[${PYTHON_USEDEP}]
=dev-python/colorclass-2.2.0[${PYTHON_USEDEP}]
=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
=dev-python/flask-0.12.2[${PYTHON_USEDEP}]
=dev-python/flask-compress-1.4.0[${PYTHON_USEDEP}]
=dev-python/flask-cors-3.0.2[${PYTHON_USEDEP}]
=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
=dev-python/flask-restful-0.3.6[${PYTHON_USEDEP}]
=dev-python/flask-restplus-0.10.1[${PYTHON_USEDEP}]
=dev-python/future-0.16.0[${PYTHON_USEDEP}]
=dev-python/guessit-2.1.4[${PYTHON_USEDEP}]
=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
=dev-python/jinja-2.10[${PYTHON_USEDEP}]
=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
=dev-python/path-py-10.3.1[${PYTHON_USEDEP}]
~dev-python/pathlib-1.0.1[${PYTHON_USEDEP}]
~dev-python/pynzb-0.1.0[${PYTHON_USEDEP}]
=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
~dev-python/python-dateutil-2.7.2[${PYTHON_USEDEP}]
>=dev-python/pytz-2017.2[${PYTHON_USEDEP}]
=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
=dev-python/rebulk-0.9.0[${PYTHON_USEDEP}]
~dev-python/requests-2.19.1[${PYTHON_USEDEP}]
=dev-python/rpyc-3.3.0[${PYTHON_USEDEP}]
=dev-python/sqlalchemy-1.2.9[${PYTHON_USEDEP}]
=dev-python/tempora-1.8[${PYTHON_USEDEP}]
=dev-python/terminaltables-3.1.0[${PYTHON_USEDEP}]
=dev-python/tzlocal-1.4[${PYTHON_USEDEP}]
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
=dev-python/zxcvbn-python-4.4.15[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
"
DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
if [[ ${PV} == 9999 ]]; then
DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
else
S="${WORKDIR}/${MY_P}"
fi
python_test() {
cp -lr tests setup.cfg "${BUILD_DIR}" || die
run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
|| die "Tests fail with ${EPYTHON}"
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 ${PN}
}
src_prepare() {
distutils-r1_src_prepare
sed -i -e "s/^chardet==3.0.3/chardet==3.0.4/" ${S}/requirements.txt || die
sed -i -e "s/^cheroot==5.5.0/cheroot==6.0.0/" ${S}/requirements.txt || die
sed -i -e "s/^cherrypy==10.2.2/cherrypy==13.1.0/" ${S}/requirements.txt || die
sed -i -e "s/^portend==1.8/portend==2.2/" ${S}/requirements.txt || die
sed -i -e "s/^plumbum==1.6.3/plumbum==1.6.4/" ${S}/requirements.txt || die
sed -i -e "s/^pytz==2017.2/pytz>=2017.2/" ${S}/requirements.txt || die
sed -i -e "s/^six==1.10.0/six==1.11.0/" ${S}/requirements.txt || die
}
src_install() {
distutils-r1_src_install
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
fperms 755 /var/log/${PN}
if use systemd; then
systemd_dounit "${FILESDIR}"/flexget.service
fi
}

View File

@ -0,0 +1,3 @@
AUX ymarks-server-constants.patch 649 BLAKE2B a726cd9df461df441b84923f2477af8b25e0df85fe0aa91131b495b9bca3e9119448b68bf7775666d8bfa18eae5e8fb707fdfbe49fab6cd271dbed0863063df1 SHA512 7bdb5cbcd07595c43281a9d67ff6186e0de6816a36921a696b05e2c760934a70f44331c1f048720dd2dcf855c2432e90dff791ed831f161ea81303477222cf19
AUX ymarks.service 228 BLAKE2B 1d36be15f494f63ec04a9d5041cf417fb12901277044c07ea031650e0341980619b382dc646c05a9624d59f9bdc1ffe8b723554017cb8f73a1fbf8746b6ea389 SHA512 81e3ae34e97a64851751aa0e2d5edbed8e8bc3040abdc9cf2f8a239a017680f134de52287086d96fcb8581c2e7ef6ea87fd760a027b47bc205b740fe623216d5
EBUILD ymarks-server-9999.ebuild 897 BLAKE2B e2b5cb56e8ef2ef0980b579bcbd08eac114b05a7b796dc5806401110f8b82a7ed5b41e52d841a306c5459a57ccc816478eda2249c3f59ad07b2b8bddb41532d8 SHA512 91a5582a0fd30cdfd16329a050a39c25f0968473e6d8b74b388a4bb7ec68c82e6579a5121be9ebb5227e82b68538a12faf42ce982f3946f80b8403e1656c59be

View File

@ -0,0 +1,16 @@
diff -ur ymarks-server-9999.orig/src/constants.h ymarks-server-9999/src/constants.h
--- ymarks-server-9999.orig/src/constants.h 2018-05-21 22:35:56.623271162 +0200
+++ ymarks-server-9999/src/constants.h 2018-05-21 22:37:02.882961737 +0200
@@ -16,10 +16,10 @@
/* The port ymarks will bind its server component to: */
-static const int SERVERPORT = 8888;
+static const int SERVERPORT = 9999;
/* The folder in which backups will be created (if enabled): */
-static const char* BACKUPFOLDER = ".";
+static const char* BACKUPFOLDER = "/etc/ymarks";
/* The name of your database file: */
static const char* SQLFILE = "ymarks.db";

View File

@ -0,0 +1,15 @@
[Unit]
Description=ymarks-server
After=network.target
[Service]
Type=simple
User=ymarks
Group=ymarks
WorkingDirectory=/etc/ymarks
ExecStart=/etc/ymarks/ymarks &
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,44 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils user systemd
if [[ ${PV} == "9999" ]] ; then
EHG_REPO_URI="https://bitbucket.org/ymarks/${PN}"
inherit mercurial
fi
DESCRIPTION="Simple KISS bookmark sync server"
HOMEPAGE="https://www.ymarks.org"
LICENSE="WTFPL"
SLOT="0"
IUSE="systemd"
RDEPEND="dev-db/sqlite:3"
DEPEND="${RDEPEND}"
pkg_setup() {
enewgroup ymarks
enewuser ymarks -1 /bin/bash /etc/ymarks ymarks
}
src_prepare() {
default
eapply "${FILESDIR}/ymarks-server-constants.patch"
}
src_compile() {
cc -I . -I /usr/include -o ymarks 3rdparty/cJSON.c src/backup.c src/main.c -lsqlite3
}
src_install() {
exeinto /etc/ymarks
doexe ${S}/ymarks
echo "12345" > "${D}"/etc/ymarks/PIN.txt
fowners -R ymarks:ymarks /etc/ymarks
use systemd &&
systemd_dounit "${FILESDIR}"/ymarks.service
}