From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SmoVC-00083A-A1 for garchives@archives.gentoo.org; Thu, 05 Jul 2012 16:01:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A4A2E04ED; Thu, 5 Jul 2012 16:01:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CB5DFE04ED for ; Thu, 5 Jul 2012 16:01:39 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 603A71B404F for ; Thu, 5 Jul 2012 16:01:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2036AE5436 for ; Thu, 5 Jul 2012 16:01:36 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1341504110.7ef002f74cd9f39ae41108b64c2421a19d0e0fda.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: / X-VCS-Repository: proj/R_overlay X-VCS-Files: run_config.py run_depres.py run_desc.py run_sync.py X-VCS-Directories: / X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 7ef002f74cd9f39ae41108b64c2421a19d0e0fda X-VCS-Branch: master Date: Thu, 5 Jul 2012 16:01:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 71eb16bf-9537-4798-8555-a5a9314e3314 X-Archives-Hash: 726f2563fb45aee525aca2ae5685d4a5 commit: 7ef002f74cd9f39ae41108b64c2421a19d0e0fda Author: Andr=C3=A9 Erdmann mailerd de> AuthorDate: Thu Jul 5 16:01:50 2012 +0000 Commit: Andr=C3=A9 Erdmann mailerd de> CommitDate: Thu Jul 5 16:01:50 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/R_overlay.git= ;a=3Dcommit;h=3D7ef002f7 remove old (broken) test scripts --- run_config.py | 15 --------------- run_depres.py | 32 -------------------------------- run_desc.py | 25 ------------------------- run_sync.py | 40 ---------------------------------------- 4 files changed, 0 insertions(+), 112 deletions(-) diff --git a/run_config.py b/run_config.py deleted file mode 100755 index b6e1cab..0000000 --- a/run_config.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python3 - -import sys - -ARGV =3D sys.argv[1:] - -from roverlay import config - -for c in ARGV: - print ( "<=3D=3D=3D " + c + " =3D=3D=3D>" ) - config.loader().load_config ( c ) - print ( ">=3D=3D=3D " + c + " =3D=3D=3D<" ) - -conf =3D config.access() -vis =3D conf.visualize ( into=3Dsys.stdout ) diff --git a/run_depres.py b/run_depres.py deleted file mode 100755 index 015d0e9..0000000 --- a/run_depres.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/python3 - -import sys -import os.path - -if len ( sys.argv ) < 2: - print ( "Usage: %s " % sys.argv[0] ) - exit ( 10 ) - -if os.path.isfile ( sys.argv[1] ): - print ( "reading a file" ) - with open ( sys.argv[1], 'r' ) as fh: - deps =3D tuple ( x.strip() for x in filter ( None, fh.readlines() ) ) -else: - deps =3D sys.argv[1:] - - -from roverlay.recipe.easyresolver import setup as getres -from roverlay.depres.channels import EbuildJobChannel - - -R =3D getres() -c =3D EbuildJobChannel ( name=3D'chantest' ) -R.register_channel ( c ) -c.add_dependencies ( deps ) - - -if c.satisfy_request(): - print ( "Success!" ) - print ( str ( c.collect_dependencies() ) ) -else: - print ( "" ) diff --git a/run_desc.py b/run_desc.py deleted file mode 100755 index b69fae8..0000000 --- a/run_desc.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 - -import sys -import logging -import os.path - -ARGV =3D sys.argv[1:] - -from roverlay.rpackage import descriptionreader as d - -doinfo =3D d.make_desc_packageinfo -Reader =3D d.DescriptionReader -LOGGER =3D logging.getLogger() - -if not ARGV: - ARGV =3D ( '/home/andre/tmp/R_overlay_2012-06-28/desc-files/ENmisc_1.2.= 4.desc', ) - - -for df in ARGV: - df =3D os.path.abspath ( df ) - pinfo =3D doinfo ( df ) - - r =3D Reader ( pinfo, LOGGER, read_now=3DFalse, write_desc=3DFalse ) - - x =3D r.get_desc() diff --git a/run_sync.py b/run_sync.py deleted file mode 100755 index 8d50d85..0000000 --- a/run_sync.py +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env python3 -from sys import exit -from sys import argv as ARGV - -if True in ( x in ARGV for x in ( '--help', '-h', '?' ) ): - print ( '\n'.join ( ( - "usage: %s " % ARGV[0], - "* args ::=3D [arg]*", - "* arg ::=3D --write|--show|--help", - "** write ^=3D write overlay (somewhere in /tmp by default)", - "** show ^=3D print overlay to stdout", - ) ) ) - exit ( 0 ) - -import roverlay - -from roverlay.overlay.creator import OverlayCreator -from roverlay.remote import RepoList - -SHOW =3D False -WRITE =3D False - -for i, x in enumerate ( ARGV ): - if i =3D=3D 0: - pass - elif x =3D=3D '--show': - SHOW =3D True - elif x =3D=3D '--write': - WRITE =3D True - -o =3D OverlayCreator() -o.can_write_overlay =3D WRITE - -r =3D RepoList() -r.load() - -r.sync() - -if not ( WRITE or SHOW ): - print ( "Use '--show' or '--write' if you want ebuild/metadata/Manifest= output." )