mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
net-p2p/py-tremc: create port
Curses interface for transmission. Python3 fork of the no longer maintained transmission-remote-cli. Some extra modifications have been included and development will follow the original project as much as possible. WWW: https://github.com/louipc/tremc Submitted by: lbdm@privacychain.ch Differential Revision: https://reviews.freebsd.org/D13618
This commit is contained in:
parent
8b1feefec5
commit
ad3eb1044c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457636
@ -72,6 +72,7 @@
|
||||
SUBDIR += p5-WWW-BitTorrent
|
||||
SUBDIR += phex
|
||||
SUBDIR += py-py2play
|
||||
SUBDIR += py-tremc
|
||||
SUBDIR += py-transmissionrpc
|
||||
SUBDIR += py-vertex
|
||||
SUBDIR += qbittorrent
|
||||
|
44
net-p2p/py-tremc/Makefile
Normal file
44
net-p2p/py-tremc/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= tremc
|
||||
DISTVERSION= g20171202
|
||||
CATEGORIES= net-p2p python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= lbdm@privacychain.ch
|
||||
COMMENT= Console client for the BitTorrent client Transmission
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python:3.4+ shebangfix
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= louipc
|
||||
GH_TAGNAME= e06d08d
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
SHEBANG_FILES= ${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
man/man1/${PORTNAME}.1.gz \
|
||||
share/bash-completion/completions/${PORTNAME}
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS_DEFINE= GEOIP XEROX
|
||||
|
||||
XEROX_DESC= Copy magnet links to the system clipboard
|
||||
|
||||
GEOIP_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GeoIP.so:net/py-GeoIP@${PY_FLAVOR}
|
||||
XEROX_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xerox/__init__.py:devel/py-xerox@${PY_FLAVOR}
|
||||
|
||||
do-install:
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL} -d ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
||||
${INSTALL_DATA} ${WRKSRC}/completion/bash/transmission-remote-cli-bash-completion.sh \
|
||||
${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-p2p/py-tremc/distinfo
Normal file
3
net-p2p/py-tremc/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1514265585
|
||||
SHA256 (louipc-tremc-g20171202-e06d08d_GH0.tar.gz) = 4559922bc047c4d95f5c2936dd844f2fd4614fef76028beb441553c68bef2ebf
|
||||
SIZE (louipc-tremc-g20171202-e06d08d_GH0.tar.gz) = 255734
|
10
net-p2p/py-tremc/files/pkg-message.in
Normal file
10
net-p2p/py-tremc/files/pkg-message.in
Normal file
@ -0,0 +1,10 @@
|
||||
###################################################################
|
||||
|
||||
Please do run "tremc --create-config" to create the configuration
|
||||
file with default values.
|
||||
|
||||
NOTE: A config file won't be created unless you provide this
|
||||
option at least once. After that, it is rewritten whenever tremc
|
||||
exits.
|
||||
|
||||
###################################################################
|
7
net-p2p/py-tremc/pkg-descr
Normal file
7
net-p2p/py-tremc/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Curses interface for transmission.
|
||||
|
||||
Python3 fork of the no longer maintained transmission-remote-cli. Some
|
||||
extra modifications have been included and development will follow the
|
||||
original project as much as possible.
|
||||
|
||||
WWW: https://github.com/louipc/tremc
|
Loading…
Reference in New Issue
Block a user