aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/cran/normalise.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-27 22:09:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-28 15:31:18 +0000
commit7ca9f93d962864f1b2a018abf1b4deda3b9b821a (patch)
treed25e8fe0bf16a7424a728e226cfd3c5167ae3f1a /paludis/repositories/cran/normalise.cc
parentbf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f (diff)
downloadpaludis-7ca9f93d962864f1b2a018abf1b4deda3b9b821a.tar.gz
paludis-7ca9f93d962864f1b2a018abf1b4deda3b9b821a.tar.xz
CRAN is dead
Diffstat (limited to 'paludis/repositories/cran/normalise.cc')
-rw-r--r--paludis/repositories/cran/normalise.cc40
1 files changed, 0 insertions, 40 deletions
diff --git a/paludis/repositories/cran/normalise.cc b/paludis/repositories/cran/normalise.cc
deleted file mode 100644
index f07ca771e..000000000
--- a/paludis/repositories/cran/normalise.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-/* vim: set sw=4 sts=4 et foldmethod=syntax : */
-
-/*
- * Copyright (c) 2007 Ciaran McCreesh
- *
- * This file is part of the Paludis package manager. Paludis is free software;
- * you can redistribute it and/or modify it under the terms of the GNU General
- * Public License version 2, as published by the Free Software Foundation.
- *
- * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "normalise.hh"
-#include <algorithm>
-
-using namespace paludis;
-
-std::string
-paludis::cranrepository::cran_name_to_internal(const std::string & s)
-{
- std::string result(s);
- std::replace(result.begin(),result.end(), '.', '-');
- return result;
-}
-
-std::string
-paludis::cranrepository::cran_version_to_internal(const std::string & s)
-{
- std::string result(s);
- std::replace(result.begin(), result.end(), '-', '.');
- return result;
-}
-