From 8ed0c4eaebb973269936529ba54cbffae7db9313 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 24 Jul 2020 07:08:05 +0000 Subject: [PATCH] Add rubygem-bio-old-biofetch-emulator 1.0.0 bio-old-biofetch-emulator emulates Bio::Fetch object in BioRuby as if discontinued BioRuby BioFetch server were still alive. It overrides methods and objects in Bio::Fetch, and if the old BioRuby BioFetch server's URL is given, it intercepts all requests and converts them into existing web services such as TogoWS, KEGG REST API, NCBI E-Utilities, and GenomeNet(genome.jp). WWW: https://github.com/ngoto/bioruby-old-biofetch-emulator --- biology/Makefile | 1 + .../Makefile | 22 +++++++++++++++++++ .../distinfo | 3 +++ .../pkg-descr | 7 ++++++ 4 files changed, 33 insertions(+) create mode 100644 biology/rubygem-bio-old-biofetch-emulator/Makefile create mode 100644 biology/rubygem-bio-old-biofetch-emulator/distinfo create mode 100644 biology/rubygem-bio-old-biofetch-emulator/pkg-descr diff --git a/biology/Makefile b/biology/Makefile index 5a947b3a2324..51d38daecc7f 100644 --- a/biology/Makefile +++ b/biology/Makefile @@ -149,6 +149,7 @@ SUBDIR += ruby-bio SUBDIR += rubygem-bio SUBDIR += rubygem-bio-executables + SUBDIR += rubygem-bio-old-biofetch-emulator SUBDIR += samtools SUBDIR += scrm SUBDIR += seaview diff --git a/biology/rubygem-bio-old-biofetch-emulator/Makefile b/biology/rubygem-bio-old-biofetch-emulator/Makefile new file mode 100644 index 000000000000..7a1d158c7d73 --- /dev/null +++ b/biology/rubygem-bio-old-biofetch-emulator/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= bio-old-biofetch-emulator +PORTVERSION= 1.0.0 +CATEGORIES= biology rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Emulate Bio::Fetch object + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-bio>=1.4.2:biology/rubygem-bio + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/biology/rubygem-bio-old-biofetch-emulator/distinfo b/biology/rubygem-bio-old-biofetch-emulator/distinfo new file mode 100644 index 000000000000..cfc30128fd12 --- /dev/null +++ b/biology/rubygem-bio-old-biofetch-emulator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1595416509 +SHA256 (rubygem/bio-old-biofetch-emulator-1.0.0.gem) = 2cebae441cd8d680cbf76df5301b7d45a3d086974cdc016b9148a15dfb8b6d8b +SIZE (rubygem/bio-old-biofetch-emulator-1.0.0.gem) = 11264 diff --git a/biology/rubygem-bio-old-biofetch-emulator/pkg-descr b/biology/rubygem-bio-old-biofetch-emulator/pkg-descr new file mode 100644 index 000000000000..6a1c467bdd30 --- /dev/null +++ b/biology/rubygem-bio-old-biofetch-emulator/pkg-descr @@ -0,0 +1,7 @@ +bio-old-biofetch-emulator emulates Bio::Fetch object in BioRuby as if +discontinued BioRuby BioFetch server were still alive. It overrides methods and +objects in Bio::Fetch, and if the old BioRuby BioFetch server's URL is given, it +intercepts all requests and converts them into existing web services such as +TogoWS, KEGG REST API, NCBI E-Utilities, and GenomeNet(genome.jp). + +WWW: https://github.com/ngoto/bioruby-old-biofetch-emulator