Changeset 17761 in niluje


Ignore:
Timestamp:
Sep 13, 2020, 2:17:22 PM (7 days ago)
Author:
NiLuJe
Message:

Portage:

  • Update net-nntp/sickrage (Python 3, w/ vendored deps, hopefully).
Location:
Portage/trunk/net-nntp/sickrage
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Portage/trunk/net-nntp/sickrage/Manifest

    r17380 r17761  
    1 AUX sickrage.conf 1302 BLAKE2B fea52e413547a4f722bd164f689652ab693b4af0b68ff4af11ba2c25f69962360cd5065159d10a9b35469cc4b2046704f6cc2e5a10de3bf3072a5da8be53afa9 SHA512 01159f01a41f9caf785819d50ce2ad99401b1a7b049c7a602f21cdfbb5e512ebae474b2ca98f2ad84d7d1e68c4c3b01e9c6aa48d6dd2a507fd614f759bf4f9bf
     1AUX sickrage.conf 1302 BLAKE2B 96dc96c45b143edb4645f7fa740ac4a6180b4f8e377a2d86bcd10edb614761d0ee38d9022b59f46d37d7eea71995f825e137ee0eefd0e7a9841ad6831b244d93 SHA512 090ea44ea9a4d516dfb590c19b85e9db99f04e11047e6475c9b9c22bf513b5516b63fc8b11b21395d5340c6fea7e3d2a8c74d42bec5a29537764e326b93f95b2
    22AUX sickrage.ini 225 BLAKE2B d6ef25a14e703c5b61e4f9caae0a2316c8b7ed601d7531ec6d6b7f36ae6e0bf55883f56a296905d7b77c28a186ca86bb846b378b8c798a1850209de2c238deb2 SHA512 40bb474f842eec8d36d063ea9cf16aaedeffa435374f327288dc6e179b9756f68f9cb9c5256929212869799964eee2a9c65ea1b5a00a60023f8c3d3ec3369834
    3 AUX sickrage.init 1314 BLAKE2B 4ed41f7df85f58f27ec3f913e9cccaf08d020a7e389275f7762ef42089250beaa1aff259bdeddc7d22b7d038eb68240647186007fe9357af3970399547a1c865 SHA512 ea2ff54fcff96624711f09ab54f057f06d98e18da4a60b70a229a987a44db09d9cddc493a960bf7627d1173a4e3173c058035278c2c22e83481ce392a35edb35
     3AUX sickrage.init 1315 BLAKE2B 3ce714cdc21dbbf7281c744e1635d4058f3b2a1c179ac741c221c4526a3c5493bc781c7e117afd4479a7bb3b86857dc6f86ec9a0cb230737aac62283af82560e SHA512 68b6150c3dba97e24d933bb27598257fa1d08ea9a9de7b8bcd4299826bb60c0908a3798a2fc78c9c2ad7d4c3470bcf77a9bc9e6bd578c7e08173105c61849ed7
    44AUX sickrage.logrotate 182 BLAKE2B c1bf74ced49749d8d141aed167cdec82fe95d481069922c127dc004c8576e62bc0ec9ef3baeed28eaddaf0af67ea4fc55ac214a842dd5f1ffb1ef5cb6e90631f SHA512 8906f2e2b888e231c8141f60cf81a6f0c19689c975d34edd610d10328da4e6165c0dba5b716199634bd59bb1fce403bb62f034148d2dd4a0b1217d1b25cf6b79
    5 EBUILD sickrage-9999.ebuild 3165 BLAKE2B c8eb2f5781fdfca8321a339251effdaef73cc46f6cc2336de28d0bee665f8f674214f6a468d8153ef978770c887f8b5f97b7790c95f307133f63866ad7433db7 SHA512 018e3d3f475229d9944a59dfc2fb18fa3624551134159a22536c672a2c7b8b39985f7cb5d03ea339d8f80121eebe32ade9a0f8f20f47710f05e9e98cea116695
     5EBUILD sickrage-9999.ebuild 2644 BLAKE2B f4d0a0c4aea3f31b5c99a85f190d76125a285da6e6f7434e2e7122bafb54f8237b6269f9e42b0be246adcf6c4f0edc6bee9dffb744e983351c2da7c5c1719356 SHA512 3b81da4d0266bde28715daf28de07c9d26667dc6b822560b85ab2369670f5975de90a088f2c95722e8c7cb2a11c2ff17ea12ab5581f5f44fff4cd4163765fbfa
  • Portage/trunk/net-nntp/sickrage/files/sickrage.conf

    r12974 r17761  
    55# Config file for sickrage init script
    66
    7 # Path to Python 2.7
    8 PATH_TO_PYTHON_2="/usr/bin/python2.7"
     7# Path to Python 3.8
     8PATH_TO_PYTHON_3="/usr/bin/python3.8"
    99
    1010# Which port to run Sickrage.
  • Portage/trunk/net-nntp/sickrage/files/sickrage.init

    r13273 r17761  
    11#!/sbin/openrc-run
    2 # Copyright 1999-2016 Gentoo Foundation
     2# Copyright 1999-2020 Gentoo Foundation
    33# Distributed under the terms of the GNU General Public License v2
    44# $Header$
     
    3030                --background \
    3131                --pidfile ${SICKRAGE_RUNDIR}/sickrage.pid \
    32                 --exec ${PATH_TO_PYTHON_2} \
     32                --exec ${PATH_TO_PYTHON_3} \
    3333                -- \
    34                 ${SICKRAGE_CODEDIR}/SickBeard.py \
     34                ${SICKRAGE_CODEDIR}/SickChill.py \
    3535                -d \
    3636                --pidfile ${SICKRAGE_RUNDIR}/sickrage.pid \
     
    4242
    4343stop() {
    44         ebegin "Stopping SickRage"
     44        ebegin "Stopping SickChill"
    4545        start-stop-daemon --stop --pidfile ${SICKRAGE_RUNDIR}/sickrage.pid --retry 30
    4646        eend $?
  • Portage/trunk/net-nntp/sickrage/sickrage-9999.ebuild

    r17380 r17761  
    1 # Copyright 1999-2019 Gentoo Foundation
     1# Copyright 1999-2020 Gentoo Foundation
    22# Distributed under the terms of the GNU General Public License v2
    33
    44EAPI=7
    55
    6 PYTHON_COMPAT=( python2_7 )
     6PYTHON_COMPAT=( python3_8 )
    77PYTHON_REQ_USE="sqlite(+)"
    88
     
    3333REQUIRED_USE="${PYTHON_REQUIRED_USE}"
    3434
    35 DOCS=( "readme.md" )
     35DOCS=( "README.md" )
    3636
    3737#PATCHES=( )
     
    7272        newins "${FILESDIR}/${PN}.logrotate" ${PN}
    7373
    74         # Generate the version tag ourselves...
    75         sed -e "s/CUR_COMMIT_HASH = None/CUR_COMMIT_HASH = '${EGIT_VERSION}'/"  -i sickbeard/__init__.py
    76         sed -e 's/self._cur_commit_hash = None/self._cur_commit_hash = sickbeard.CUR_COMMIT_HASH/' -i sickbeard/versionChecker.py
    77 
    78         # Umask trickery? Might only be used for internal data files (ie. /var/lib/${PN} & /var/log/${PN})?
    79         sed -e "s/os.umask(prev and int('077', 8))/os.umask(prev and int('002', 8))/" -i SickBeard.py
    80 
    8174        # Install
    8275        insinto /usr/lib/${PN}
    8376        insopts -m0775 -o ${PN} -g ${PN}
    84         doins -r adba contrib gui lib locale sickbeard sickchill tests trakt SickBeard.py fake_useragent.ua.json
     77        doins -r lib3 sickchill tests SickChill.py
    8578
    8679        # Not quite sure why insopts doesn't do the trick...
     
    9285
    9386pkg_postinst() {
    94         elog "SickRage has been installed with data directories in /var/lib/${PN}"
     87        elog "SickChill has been installed with data directories in /var/lib/${PN}"
    9588        elog
    9689        elog "New user/group ${PN}/${PN} has been created"
Note: See TracChangeset for help on using the changeset viewer.