Skip to content

Commit

Permalink
editline: renamed libedit to editline
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed May 25, 2020
1 parent d6fc22d commit 15baa81
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import os


class LibeditConan(ConanFile):
name = "libedit"
class EditlineConan(ConanFile):
name = "editline"
description = "Autotool- and libtoolized port of the NetBSD Editline library (libedit)."
url = "https://github.com/conan-io/conan-center-index"
homepage = "http://thrysoee.dk/editline/"
topics = ("conan", "libedit", "line", "editing", "history", "tokenization")
topics = ("conan", "editline", "libedit", "line", "editing", "history", "tokenization")
license = "BSD-3-Clause"
settings = "os", "compiler", "build_type", "arch"
options = {
Expand Down Expand Up @@ -52,7 +52,7 @@ def configure(self):

def source(self):
tools.get(**self.conan_data["sources"][self.version])
archive_name = glob.glob("{}-*-{}".format(self.name, self.version))[0]
archive_name = glob.glob("{}-*-{}".format("libedit", self.version))[0]
os.rename(archive_name, self._source_subfolder)

def _configure_autotools(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ def build(self):

def test(self):
if not tools.cross_building(self.settings):
self.run(os.path.join("bin", "test_package"), run_environment=True)
with tools.environment_append({"TERM": "xtermc"}):
self.run(os.path.join("bin", "test_package"), run_environment=True)
File renamed without changes.

0 comments on commit 15baa81

Please sign in to comment.