You can configure scripts not to run on CSV import via their deployments. However, there's no out of the box way via deployments to only have certain scripts run for specific imports. Only way I can think of would be to have the CSV import include a custom field value that indicates if the script should run. Then, in the script, check to see if the value is set and if not, don't execute the rest of the script.