Do you mean hiding from search engine (so that they are not displayed in that country SERPs) or let them be displayed in SERPs, but when clicked from that country, it shows Not Found or Forbidden or Gone or some other page with a message?
There exist free lookups that will tell you the IP ranges for any given country. But they do change periodically-- especially the RIPE ranges-- so this isn't a once-and-for-all. You have to keep updating.
As far as anyone hereabouts has been able to find out, the googlebot always crawls from the US.
I have seen websites that will give you a list of ranges when you select a country. None come to mind, but they should be easy to find in your favorite search engine by searching for “list IPs for a country”.
The Maxmind IP databases might serve your needs. This is how I check incoming IPs and deny by country (sorry ’bout that, Ukraine).